Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242389 Details for
Bug 320869
New ebuild: scannedonly daemon
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch (will not be needed in next version of package)
scannedonly-0.20-r1.patch (text/plain), 1.35 KB, created by
daniel.deptula
on 2010-08-11 11:06:38 UTC
(
hide
)
Description:
Patch (will not be needed in next version of package)
Filename:
MIME Type:
Creator:
daniel.deptula
Created:
2010-08-11 11:06:38 UTC
Size:
1.35 KB
patch
obsolete
>diff -crB scannedonly-0.20/src/scannedonlyd_clamav.c scannedonly-0.20-r1/src/scannedonlyd_clamav.c >*** scannedonly-0.20/src/scannedonlyd_clamav.c Tue Apr 20 12:56:33 2010 >--- scannedonly-0.20-r1/src/scannedonlyd_clamav.c Tue Jul 13 16:00:27 2010 >*************** >*** 168,174 **** > syslog(LOG_NOTICE, "when trying to copy %s to %s, failed to open %s %d: %s\n",from,to,from,errno,strerror(errno)); > return -1; > } >! tofd = open(to, O_WRONLY | O_CREAT); > if (!tofd) { > syslog(LOG_NOTICE, "when trying to copy %s to %s, failed to open %s %d: %s\n",from,to,to,errno,strerror(errno)); > return -1; >--- 168,174 ---- > syslog(LOG_NOTICE, "when trying to copy %s to %s, failed to open %s %d: %s\n",from,to,from,errno,strerror(errno)); > return -1; > } >! tofd = open(to, O_WRONLY | O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); > if (!tofd) { > syslog(LOG_NOTICE, "when trying to copy %s to %s, failed to open %s %d: %s\n",from,to,to,errno,strerror(errno)); > return -1; >*************** >*** 950,956 **** > } > > if (domain_socket) { >! s = open("/proc/sys/net/unix/max_dgram_qlen",O_WRONLY); > if (s > 0) { > write(s, "200", 3); > close(s); >--- 950,956 ---- > } > > if (domain_socket) { >! s = open("/proc/sys/net/unix/max_dgram_qlen",O_WRONLY,S_IRUSR|S_IWUSR); > if (s > 0) { > write(s, "200", 3); > close(s);
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 320869
:
242387
| 242389 |
242391
|
242393
|
298843