FreeBSD Bugzilla – Attachment 10479 Details for
Bug 21007
[MFC] Improve/fix error messages in lpr's recvjob processing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 539 bytes, created by
Garance A Drosehn
on 2000-09-03 05:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Garance A Drosehn
Created:
2000-09-03 05:20:00 UTC
Size:
539 bytes
patch
obsolete
>--- recvjob.c.orig Fri Aug 27 21:16:53 1999 >+++ recvjob.c Sat Sep 2 23:39:25 2000 >@@ -367,10 +367,14 @@ > #else > va_start(ap); > #endif >- rcleanup(0); >- syslog(LOG_ERR, "%s", fromb); >+ syslog(LOG_ERR, "while receiving job from %s:", fromb); > vsyslog(LOG_ERR, msg, ap); > va_end(ap); >+ /* don't call rcleanup until AFTER logging the error message, >+ * because rcleanup will zap some variables which may have been >+ * given as parameters in that msg... */ >+ rcleanup(0); >+ sleep(2); > putchar('\1'); /* return error code */ > exit(1); > }
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 21007
: 10479