FreeBSD Bugzilla – Attachment 5387 Details for
Bug 12912
[PATCH] lpd leaves lock file permissions afoul
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 414 bytes, created by
jedgar
on 1999-08-01 20:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jedgar
Created:
1999-08-01 20:40:00 UTC
Size:
414 bytes
patch
obsolete
>--- /usr/src/usr.sbin/lpr/lpd/printjob.c.orig Fri Sep 11 14:49:32 1998 >+++ /usr/src/usr.sbin/lpr/lpd/printjob.c Sun Aug 1 15:16:21 1999 >@@ -311,6 +311,10 @@ > strlen(pp->trailer)); > } > (void) close(ofd); >+ if (fchmod(lfd, LOG_FILE_MODE) < 0) >+ syslog(LOG_ERR, "%s: %s: %m", pp->printer, >+ pp->lock_file); >+ (void) close(lfd); > (void) wait(NULL); > (void) unlink(tempfile); > exit(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 12912
: 5387