FreeBSD Bugzilla – Attachment 78247 Details for
Bug 112556
[patch]: sysctl(8) needs to fix multi-lineal descriptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 472 bytes, created by
Ighighi
on 2007-05-10 00:10:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ighighi
Created:
2007-05-10 00:10:03 UTC
Size:
472 bytes
patch
obsolete
>--- sbin/sysctl/sysctl.c.orig Wed Mar 21 21:27:09 2007 >+++ sbin/sysctl/sysctl.c Sat May 5 09:21:16 2007 >@@ -568,11 +568,16 @@ > sep = ": "; > > if (dflag) { /* just print description */ >+ char *s = buf; >+ > qoid[1] = 5; > j = sizeof(buf); > i = sysctl(qoid, nlen + 2, buf, &j, 0, 0); > if (!nflag) > printf("%s%s", name, sep); >+ /* fix multilineal descriptions */ >+ while ((s = strchr(s, '\n')) != NULL) >+ *s++ = ' '; > printf("%s", buf); > return (0); > }
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 112556
: 78247 |
160227
|
160742