X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetusershell.c;h=ba5c548430db3ca38a7330b4bf192801c41c6963;hb=46f5f314f34a08c9305758482d7d2fdb0e999d09;hp=8b50045cdcebe5276a5b804c27a00cb0f342f642;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/lib/getusershell.c b/lib/getusershell.c index 8b50045cd..ba5c54843 100644 --- a/lib/getusershell.c +++ b/lib/getusershell.c @@ -1,6 +1,6 @@ /* getusershell.c -- Return names of valid user shells. - Copyright (C) 1991, 1997, 2000-2001, 2003-2006, 2008-2012 Free Software + Copyright (C) 1991, 1997, 2000-2001, 2003-2006, 2008-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -59,8 +59,8 @@ static char const* const default_shells[] = "/bin/sh", "/bin/csh", "/usr/bin/sh", "/usr/bin/csh", NULL }; -/* Index of the next shell in `default_shells' to return. - 0 means we are not using `default_shells'. */ +/* Index of the next shell in 'default_shells' to return. + 0 means we are not using 'default_shells'. */ static size_t default_index = 0; /* Input stream from the shells file. */ @@ -69,7 +69,7 @@ static FILE *shellstream = NULL; /* Line of input from the shells file. */ static char *line = NULL; -/* Number of bytes allocated for `line'. */ +/* Number of bytes allocated for 'line'. */ static size_t line_size = 0; /* Return an entry from the shells file, ignoring comment lines.