FreeBSD Bugzilla – Attachment 16071 Details for
Bug 29625
limits -d etc. should not output warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
getopt-patch
getopt-patch (text/plain), 897 bytes, created by
Joseph Koshy
on 2001-08-14 09:52:03 UTC
(
hide
)
Description:
getopt-patch
Filename:
MIME Type:
Creator:
Joseph Koshy
Created:
2001-08-14 09:52:03 UTC
Size:
897 bytes
patch
obsolete
>Index: getopt.c >=================================================================== >RCS file: /home/ncvs/src/lib/libc/stdlib/getopt.c,v >retrieving revision 1.3 >diff -u -r1.3 getopt.c >--- getopt.c 2000/09/04 03:49:22 1.3 >+++ getopt.c 2001/08/14 08:25:54 >@@ -65,7 +65,6 @@ > extern char *__progname; > static char *place = EMSG; /* option letter processing */ > char *oli; /* option letter list index */ >- int ret; > > if (optreset || !*place) { /* update scanning pointer */ > optreset = 0; >@@ -105,14 +104,12 @@ > else if (nargc <= ++optind) { /* no arg */ > place = EMSG; > if (*ostr == ':') >- ret = BADARG; >- else >- ret = BADCH; >+ return (BADARG); > if (opterr) > (void)fprintf(stderr, > "%s: option requires an argument -- %c\n", > __progname, optopt); >- return (ret); >+ return (BADCH); > } > else /* white space */ > optarg = nargv[optind];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 29625
: 16071