Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Validations
f1b50bf8
Vérifiée
Valider
f1b50bf8
rédigé
Il y a 3 ans
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
REG: Not finding a reg/module is now a fatal error
parent
a4cacc14
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion
!191
Resolve "BUG: segfault when the module specified in the config is not present"
Modifications
1
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
src/base/reg.c
+4
-5
4 ajouts, 5 suppressions
src/base/reg.c
avec
4 ajouts
et
5 suppressions
src/base/reg.c
+
4
−
5
Voir le fichier @
f1b50bf8
...
@@ -75,9 +75,8 @@ reg_import(const char *mod, struct module_reg **ret, void **handle)
...
@@ -75,9 +75,8 @@ reg_import(const char *mod, struct module_reg **ret, void **handle)
LOG_INFO
(
"REG"
,
"Using the reg structure to find %s"
,
mod
);
LOG_INFO
(
"REG"
,
"Using the reg structure to find %s"
,
mod
);
*
ret
=
reg_internal_get
(
__reg__
,
mod
);
*
ret
=
reg_internal_get
(
__reg__
,
mod
);
if
(
!*
ret
)
{
if
(
!*
ret
)
{
LOG_INFO
(
"REG"
,
LOG_FATAL
(
"The module %s was not found by using the reg '"
REG_EXPORT_NAME
"' or by "
"Not found in reg '"
REG_EXPORT_NAME
"', "
"using dlsym to find reg '"
REG_EXPORT_NAME
"' in file %s"
,
"using the dlsym to find reg '"
REG_EXPORT_NAME
"' in file %s"
,
mod
);
mod
);
}
}
}
}
...
@@ -89,7 +88,7 @@ reg_call(struct module_reg *reg, const char *name, int count, ...)
...
@@ -89,7 +88,7 @@ reg_call(struct module_reg *reg, const char *name, int count, ...)
{
{
reg_func
func
=
reg_internal_func
(
reg
,
name
);
reg_func
func
=
reg_internal_func
(
reg
,
name
);
if
(
!
func
)
{
if
(
!
func
)
{
LOG_ERROR
(
"REG"
,
"No function named '%s'
"
,
name
);
LOG_ERROR
(
"REG"
,
"No function named '%s'
in reg: %s"
,
name
,
reg
->
name
);
return
2
;
return
2
;
}
}
va_list
va
;
va_list
va
;
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter