diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-06-19 12:18:51 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-06-19 12:18:51 +0000 |
commit | 6040a68c1ef27209fe7cd5dfd799ddfa5f11a701 (patch) | |
tree | 5ac8fef7a57586e8ebcbfe6013e47a96f9f26ce2 /usr/src/lib/libc/port/gen/getopt.c | |
parent | 4227bcffd4e1abf8a3987dbe0f649d7cc7ea4940 (diff) | |
parent | ae7ff7d6ac239648a2579a0de5a0a1be3d4e10e6 (diff) | |
download | illumos-joyent-6040a68c1ef27209fe7cd5dfd799ddfa5f11a701.tar.gz |
[illumos-gate merge]
commit ae7ff7d6ac239648a2579a0de5a0a1be3d4e10e6
11118 libhotplug: NULL pointer errors
commit dd6458550ab2996163712b25c080615392bf94d2
11117 libzfs_core: NULL pointer errors
commit 281eb3a97ad0e298603325ba7c56d0222aaa5ac3
11114 libsecdb: NULL pointer errors
commit d5fa36a7366530f78b3c5d1cd4c4a40085383b9f
11110 crle: NULL pointer errors
commit e2294b844b9f4bfc375e88fd1260d9a39ffc82e1
11103 link_audit: NULL pointer errors
commit 430c2cddc92582fc7155aaf65c78f0919d7081c1
6474 getupeercred causes spurious event port wakeups on FIFOs
commit 5f5c35baa7f18214d2cd9ec105270892288f8497
11100 liblddbg: NULL pointer errors
commit 344db6f401efe76f7e1d4f4c1a644ae593910219
11092 libnsl: NULL pointer errors
commit e86c3f00315e5838c0ec0b14f34b94c292085956
11091 libc: NULL pointer errors
commit ad24f9fb30ac1431734347d46a592d22cbfcf3b6
11081 liblddbg: comparison between pointer and integer
commit 0362cabb4921eb6283a19fb680876f50907fda08
11115 libdisasm: NULL pointer errors
commit 9a34674dce796d46567833216389d6d430925bb2
11182 loader: Distinguish between "no partition" and "choose best partition" with a constant.
commit a8412dc108558a7a3635b7ab4f3b1b743bdff9e8
11074 loader: mod_loadkld() error: we previously assumed 'last_file' could be null
commit 535ff4fc926c4df67c4665a72c71724810962d4f
11047 zmod: make sure we use zmemcpy and friends
commit e207f0de2012ff5024160daa7e6e3cf11d04f2dc
11111 lex: NULL pointer errors
Diffstat (limited to 'usr/src/lib/libc/port/gen/getopt.c')
-rw-r--r-- | usr/src/lib/libc/port/gen/getopt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/libc/port/gen/getopt.c b/usr/src/lib/libc/port/gen/getopt.c index 5e3e3e23eb..cb6839f2ff 100644 --- a/usr/src/lib/libc/port/gen/getopt.c +++ b/usr/src/lib/libc/port/gen/getopt.c @@ -27,8 +27,6 @@ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * See getopt(3C) and SUS/XPG getopt() for function definition and * requirements. @@ -199,7 +197,7 @@ getopt(int argc, char *const *argv, const char *optstring) if (optind >= argc || argv[optind][0] != '-' || argv[optind] == NULL || argv[optind][1] == '\0') return (EOF); - else if (strcmp(argv[optind], "--") == NULL) { + else if (strcmp(argv[optind], "--") == 0) { optind++; return (EOF); } |