Bug 75332
| Summary: | logrotate port to Solaris(8) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | matti aarnio <matti.aarnio> | ||||||
| Component: | logrotate | Assignee: | Elliot Lee <sopwith> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Jay Turner <jturner> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 1.0 | CC: | srevivo | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | sparc | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2002-10-23 19:14:26 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
matti aarnio
2002-10-07 11:46:35 UTC
Created attachment 79184 [details]
fix for uninitialized variable in logrotate.c, port to Solaris 8.
Attached patch is port to Solaris 8. As Solaris 8 does not contain asprintf() and friends, a reimplementation of them as been necessary, but that implementation has gotten it slightly wrong, thus it does not like to receive uninitialized target variable.. The fix is trivialish; the first realloc() must be changed to malloc() at vasprintf.c file. This implementation is usable only at this application, it isn't generic fool-proof thing. Created attachment 79185 [details]
Pure port to Solaris8, corrected asprintf() reimplementation.
Hmm, seems like there is a Solaris port of sorts already in CVS, I think I will release 3.6.6 without these changes and have you send any needed patches against that. |