projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(parse_long_options): Compare getopt_long return
[gnulib.git]
/
lib
/
long-options.c
diff --git
a/lib/long-options.c
b/lib/long-options.c
index
cd2c68d
..
baf2c2a
100644
(file)
--- a/
lib/long-options.c
+++ b/
lib/long-options.c
@@
-53,7
+53,7
@@
parse_long_options (argc, argv, command_name, package, version, usage)
opterr = 0;
if (argc == 2
- && (c = getopt_long (argc, argv, "+", long_options,
(int *) 0)) != EOF
)
+ && (c = getopt_long (argc, argv, "+", long_options,
NULL)) != -1
)
{
switch (c)
{