FreeBSD Bugzilla – Attachment 8690 Details for
Bug 18079
[PATCH] "pw usermod foobar -h -" broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 825 bytes, created by
kehlet
on 2000-04-18 23:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
kehlet
Created:
2000-04-18 23:50:01 UTC
Size:
825 bytes
patch
obsolete
>Index: pw_user.c >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/pw/pw_user.c,v >retrieving revision 1.34 >diff -c -r1.34 pw_user.c >*** pw_user.c 2000/01/15 00:20:21 1.34 >--- pw_user.c 2000/04/18 22:41:22 >*************** >*** 586,594 **** > } > > if ((arg = getarg(args, 'h')) != NULL) { >! if (strcmp(arg->val, "-") == 0) > pwd->pw_passwd = "*"; /* No access */ >! else { > int fd = atoi(arg->val); > int b; > int istty = isatty(fd); >--- 586,595 ---- > } > > if ((arg = getarg(args, 'h')) != NULL) { >! if (strcmp(arg->val, "-") == 0) { > pwd->pw_passwd = "*"; /* No access */ >! edited = 1; >! } else { > int fd = atoi(arg->val); > int b; > int istty = isatty(fd);
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 18079
: 8690