diff options
| author | Paul Eggert | 2011-06-23 01:10:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-23 01:10:57 -0700 |
| commit | 6dd7e40073d6f18bcb287b59256607caea17404a (patch) | |
| tree | 1524f3b6e01ea057d8b03e8c5645404120d37f28 /lib/getopt.c | |
| parent | 7efb4e0e62ed3e11e20d15821342c322b4101ae7 (diff) | |
| download | emacs-6dd7e40073d6f18bcb287b59256607caea17404a.tar.gz emacs-6dd7e40073d6f18bcb287b59256607caea17404a.zip | |
* lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib.
Diffstat (limited to 'lib/getopt.c')
| -rw-r--r-- | lib/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index 23510d8afec..2af8352ee9c 100644 --- a/lib/getopt.c +++ b/lib/getopt.c | |||
| @@ -829,7 +829,7 @@ _getopt_internal_r (int argc, char **argv, const char *optstring, | |||
| 829 | return '?'; | 829 | return '?'; |
| 830 | } | 830 | } |
| 831 | /* Convenience. Treat POSIX -W foo same as long option --foo */ | 831 | /* Convenience. Treat POSIX -W foo same as long option --foo */ |
| 832 | if (temp[0] == 'W' && temp[1] == ';') | 832 | if (temp[0] == 'W' && temp[1] == ';' && longopts) |
| 833 | { | 833 | { |
| 834 | char *nameend; | 834 | char *nameend; |
| 835 | const struct option *p; | 835 | const struct option *p; |