whitespace fixes

This commit is contained in:
Denis Vlasenko 2008-01-07 19:06:47 +00:00
parent 9b4c072a04
commit 474d1c57c8
3 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ int tac_main(int argc, char **argv)
char *line; char *line;
llist_t *list = NULL; llist_t *list = NULL;
int retval = EXIT_SUCCESS; int retval = EXIT_SUCCESS;
argv++; argv++;
if (!*argv) if (!*argv)
*--argv = (char *)"-"; *--argv = (char *)"-";
@ -48,7 +48,7 @@ int tac_main(int argc, char **argv)
errno = 0; errno = 0;
/* FIXME: NUL bytes are mishandled. */ /* FIXME: NUL bytes are mishandled. */
while ((line = xmalloc_fgets(f)) != NULL) while ((line = xmalloc_fgets(f)) != NULL)
llist_add_to(&list, line); llist_add_to(&list, line);
/* xmalloc_fgets uses getc and returns NULL on error or EOF. */ /* xmalloc_fgets uses getc and returns NULL on error or EOF. */
/* It sets errno to ENOENT on EOF, but fopen_or_warn_stdin would */ /* It sets errno to ENOENT on EOF, but fopen_or_warn_stdin would */
@ -63,6 +63,6 @@ int tac_main(int argc, char **argv)
printf("%s", list->data); printf("%s", list->data);
list = list->link; list = list->link;
} }
return retval; return retval;
} }

View File

@ -32,8 +32,8 @@ config FEATURE_KILL_REMOVED
default y default y
depends on FEATURE_USE_INITTAB depends on FEATURE_USE_INITTAB
help help
When respawn entries are removed from inittab and a SIGHUP is When respawn entries are removed from inittab and a SIGHUP is
sent to init, this feature will kill the processes that have sent to init, this feature will kill the processes that have
been removed. been removed.
config FEATURE_KILL_DELAY config FEATURE_KILL_DELAY

View File

@ -353,7 +353,7 @@ static int unix_do_one(int nr, char *line)
return 0; /* skip header */ return 0; /* skip header */
/* 2.6.15 may report lines like "... @/tmp/fam-user-^@^@^@^@^@^@^@..." /* 2.6.15 may report lines like "... @/tmp/fam-user-^@^@^@^@^@^@^@..."
* Other users report long lines filled by NUL bytes. * Other users report long lines filled by NUL bytes.
* (those ^@ are NUL bytes too). We see them as empty lines. */ * (those ^@ are NUL bytes too). We see them as empty lines. */
if (!line[0]) if (!line[0])
return 0; return 0;