FreeBSD Bugzilla – Attachment 12938 Details for
Bug 24798
pac dumps core if printer accounting not enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 425 bytes, created by
nick
on 2001-02-02 13:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
nick
Created:
2001-02-02 13:40:00 UTC
Size:
425 bytes
patch
obsolete
>--- pac.c.orig Fri Feb 2 13:27:19 2001 >+++ pac.c Fri Feb 2 13:19:20 2001 >@@ -450,7 +450,10 @@ > case PCAPERR_TCLOOP: > fatal(pp, "%s", pcaperr(stat)); > } >- acctfile = pp->acct_file; >+ if ((acctfile = pp->acct_file) == NULL) { >+ printf("pac: accounting not enabled for %s\n", s); >+ exit(3); >+ } > if (!pflag && pp->price100) > price = pp->price100/10000.0; > sumfile = (char *) calloc(sizeof(char), strlen(acctfile)+5);
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 24798
: 12938