Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160651 Details for
Bug 247410
Logrotate 3.7.4 does not honor size directive
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to address size option not working
logrotate-size.patch (text/plain), 649 bytes, created by
Chet Burgess
on 2007-08-03 20:02:27 UTC
(
hide
)
Description:
Patch to address size option not working
Filename:
MIME Type:
Creator:
Chet Burgess
Created:
2007-08-03 20:02:27 UTC
Size:
649 bytes
patch
obsolete
>--- logrotate-3.7.4/config.c.size 2006-07-24 05:08:04.000000000 -0700 >+++ logrotate-3.7.4/config.c 2007-08-03 11:14:48.000000000 -0700 >@@ -585,7 +585,7 @@ > *endtag = oldchar, start = endtag; > } else if (!strcmp(start, "size") || !strcmp(start, "minsize")) { > unsigned int size = 0; >- char *opt = start; >+ char *opt = strdup(start); > *endtag = oldchar, start = endtag; > > if (!isolateValue(configFile, lineNum, opt, &start, >@@ -624,6 +624,7 @@ > newlog->minsize = size; > > *endtag = oldchar, start = endtag; >+ free(opt); > } > #if 0 /* this seems like such a good idea :-( */ > } else if (!strcmp(start, "days")) {
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 247410
: 160651