FreeBSD Bugzilla – Attachment 14198 Details for
Bug 26689
logname returns error when passing opts args.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 482 bytes, created by
reel
on 2001-04-19 02:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
reel
Created:
2001-04-19 02:20:00 UTC
Size:
482 bytes
patch
obsolete
>--- /usr/src/usr.bin/logname/logname.c Fri Mar 28 23:30:48 1997 >+++ logname.c Wed Apr 18 21:04:10 2001 >@@ -55,15 +55,9 @@ > int argc; > char *argv[]; > { >- int ch; > char *p; >- >- while ((ch = getopt(argc, argv, "")) != -1) >- switch (ch) { >- case '?': >- default: >- usage(); >- } >+ if (argc != 1) >+ usage(); > argc -= optind; > argv += 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26689
: 14198