diff options
author | Jim Meyering <jim@meyering.net> | 1993-04-05 15:50:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-04-05 15:50:18 +0000 |
commit | 9b8fe62dc8a8001c0de3cf44471d21bcaf887d28 (patch) | |
tree | d40245938d82d47e4387d5ebeef8c0cf69a80b1c | |
parent | e5a97dc971a2d5a61d203f78ebc0d51bf9278ec6 (diff) | |
download | coreutils-9b8fe62dc8a8001c0de3cf44471d21bcaf887d28.tar.xz |
Add `case 0' to getopt_long switch.
-rw-r--r-- | src/chgrp.c | 2 | ||||
-rw-r--r-- | src/chmod.c | 2 | ||||
-rw-r--r-- | src/chown.c | 2 | ||||
-rw-r--r-- | src/install.c | 2 | ||||
-rw-r--r-- | src/ls.c | 3 | ||||
-rw-r--r-- | src/mkfifo.c | 2 | ||||
-rw-r--r-- | src/mknod.c | 2 | ||||
-rw-r--r-- | src/touch.c | 3 |
8 files changed, 18 insertions, 0 deletions
diff --git a/src/chgrp.c b/src/chgrp.c index 31a74259c..0102d7a10 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -107,6 +107,8 @@ main (argc, argv) { switch (optc) { + case 0: + break; case 'R': recurse = 1; break; diff --git a/src/chmod.c b/src/chmod.c index b955b3f88..9e1b9832d 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -104,6 +104,8 @@ main (argc, argv) switch (c) { + case 0: + break; case 'r': case 'w': case 'x': diff --git a/src/chown.c b/src/chown.c index e1cc6109f..6fa8fbcff 100644 --- a/src/chown.c +++ b/src/chown.c @@ -119,6 +119,8 @@ main (argc, argv) { switch (optc) { + case 0: + break; case 'R': recurse = 1; break; diff --git a/src/install.c b/src/install.c index d2ad40b0b..ce5ccadd5 100644 --- a/src/install.c +++ b/src/install.c @@ -172,6 +172,8 @@ main (argc, argv) { switch (optc) { + case 0: + break; case 'c': break; case 's': @@ -585,6 +585,9 @@ decode_switches (argc, argv) { switch (c) { + case 0: + break; + case 'a': all_files = 1; really_all_files = 1; diff --git a/src/mkfifo.c b/src/mkfifo.c index be765f488..dab49fad5 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -71,6 +71,8 @@ main (argc, argv) { switch (optc) { + case 0: + break; case 'm': symbolic_mode = optarg; break; diff --git a/src/mknod.c b/src/mknod.c index 08f3f8959..809820a6e 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -72,6 +72,8 @@ main (argc, argv) { switch (optc) { + case 0: + break; case 'm': symbolic_mode = optarg; break; diff --git a/src/touch.c b/src/touch.c index 65072176b..9a8ca5841 100644 --- a/src/touch.c +++ b/src/touch.c @@ -141,6 +141,9 @@ main (argc, argv) { switch (c) { + case 0: + break; + case 'a': change_times |= CH_ATIME; break; |