FreeBSD Bugzilla – Attachment 10412 Details for
Bug 20889
[patch] syslogd.c still uses depreciated domain AF_UNIX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 497 bytes, created by
visigoth
on 2000-08-27 19:00:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
visigoth
Created:
2000-08-27 19:00:03 UTC
Size:
497 bytes
patch
obsolete
>--- syslogd.c.old Mon Aug 28 12:38:55 2000 >+++ syslogd.c Mon Aug 28 12:40:53 2000 >@@ -399,9 +399,9 @@ > #endif > for (i = 0; i < nfunix; i++) { > memset(&sunx, 0, sizeof(sunx)); >- sunx.sun_family = AF_UNIX; >+ sunx.sun_family = PF_LOCAL; > (void)strncpy(sunx.sun_path, funixn[i], sizeof(sunx.sun_path)); >- funix[i] = socket(AF_UNIX, SOCK_DGRAM, 0); >+ funix[i] = socket(PF_LOCAL, SOCK_DGRAM, 0); > if (funix[i] < 0 || > bind(funix[i], (struct sockaddr *)&sunx, > SUN_LEN(&sunx)) < 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 20889
: 10412