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
c42e1eff
Vérifiée
Valider
c42e1eff
rédigé
Il y a 5 ans
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Small renamings
parent
65d1432b
Branches
Branches contenant la validation
Aucune étiquette associée trouvée
1 requête de fusion
!106
Playlist to queue
Modifications
4
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
4 fichiers modifiés
inc/lektor/cmd.h
+1
-1
1 ajout, 1 suppression
inc/lektor/cmd.h
inc/lektor/thread.h
+0
-1
0 ajout, 1 suppression
inc/lektor/thread.h
src/cmd.c
+2
-2
2 ajouts, 2 suppressions
src/cmd.c
src/main/server.c
+1
-1
1 ajout, 1 suppression
src/main/server.c
avec
4 ajouts
et
5 suppressions
inc/lektor/cmd.h
+
1
−
1
Voir le fichier @
c42e1eff
...
@@ -26,4 +26,4 @@ noreturn void lkt_cmd_parse(struct lkt_cmd_opt *opts, int argc, const char **arg
...
@@ -26,4 +26,4 @@ noreturn void lkt_cmd_parse(struct lkt_cmd_opt *opts, int argc, const char **arg
in case of errors. */
in case of errors. */
extern
const
char
*
executable_name
;
extern
const
char
*
executable_name
;
noreturn
void
help
__
(
void
);
noreturn
void
print_
help
(
void
);
Ce diff est replié.
Cliquez pour l'agrandir.
inc/lektor/thread.h
+
0
−
1
Voir le fichier @
c42e1eff
...
@@ -23,7 +23,6 @@ struct poller_thread_arg {
...
@@ -23,7 +23,6 @@ struct poller_thread_arg {
void
*
args
;
void
*
args
;
};
};
/* Create a new thread. Returns 0 on success, a non zero value on error. */
/* Create a new thread. Returns 0 on success, a non zero value on error. */
int
poller_new
(
struct
poller_thread
*
th
,
void
*
(
*
func
)(
struct
poller_thread_arg
*
),
void
*
args
);
int
poller_new
(
struct
poller_thread
*
th
,
void
*
(
*
func
)(
struct
poller_thread_arg
*
),
void
*
args
);
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/cmd.c
+
2
−
2
Voir le fichier @
c42e1eff
...
@@ -13,7 +13,7 @@ const char *executable_name = NULL;
...
@@ -13,7 +13,7 @@ const char *executable_name = NULL;
extern
const
char
*
man_executable_path
;
extern
const
char
*
man_executable_path
;
noreturn
void
noreturn
void
help
__
(
void
)
print_
help
(
void
)
{
{
if
(
!
executable_name
)
if
(
!
executable_name
)
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
...
@@ -71,7 +71,7 @@ not_found:
...
@@ -71,7 +71,7 @@ not_found:
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
help:
help:
help
__
();
print_
help
();
not_exclusive:
not_exclusive:
LOG_ERROR
(
"COMMAND"
,
"Failed to determine option, '%s' not exclusive"
,
LOG_ERROR
(
"COMMAND"
,
"Failed to determine option, '%s' not exclusive"
,
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/main/server.c
+
1
−
1
Voir le fichier @
c42e1eff
...
@@ -54,7 +54,7 @@ main(int argc, char *argv[])
...
@@ -54,7 +54,7 @@ main(int argc, char *argv[])
break
;
break
;
case
'h'
:
case
'h'
:
default:
default:
help
__
();
print_
help
();
exit
(
EXIT_SUCCESS
);
exit
(
EXIT_SUCCESS
);
}
}
}
}
...
...
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