projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git]
/
lib
/
getusershell.c
diff --git
a/lib/getusershell.c
b/lib/getusershell.c
index
8b50045
..
ba5c548
100644
(file)
--- a/
lib/getusershell.c
+++ b/
lib/getusershell.c
@@
-1,6
+1,6
@@
/* getusershell.c -- Return names of valid user shells.
/* getusershell.c -- Return names of valid user shells.
- Copyright (C) 1991, 1997, 2000-2001, 2003-2006, 2008-201
2
Free Software
+ Copyright (C) 1991, 1997, 2000-2001, 2003-2006, 2008-201
4
Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
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
};
"/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. */
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;
/* 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;
\f
/* Return an entry from the shells file, ignoring comment lines.
static size_t line_size = 0;
\f
/* Return an entry from the shells file, ignoring comment lines.