Opened 16 years ago
Closed 14 years ago
#17142 closed defect (fixed)
gnucash 2.2.7 on Leopard doesn't delete old log files
Reported by: | robert.harris@… | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | mf2k (Frank Schima) | |
Port: | gnucash |
Description
On Leopard, gnucash 2.2.7 retains all log files forever regardless of the appropriate setting in the preferences.
The root cause is that Leopard's strptime() is broken, and always returns NULL in gnc_file_be_remove_old_files().
The reason why I am logging a bug against the port is that there appears to be an alternative version of strptime() supplied with the gnucash distribution, presumably for use on operating systems where no local implementation of this function is provided. I would like to suggest that the portfile is modified so that the gnucash's 'configure' script overrides that native strptime(). I don't know how to do this and would be grateful for a workaround.
Attachments (1)
Change History (10)
comment:1 follow-up: 2 Changed 16 years ago by jmroot (Joshua Root)
comment:2 follow-up: 3 Changed 16 years ago by robert.harris@…
comment:3 Changed 16 years ago by robert.harris@…
Replying to robert.harris@…:
Replying to jmr@…:
Is there an upstream bug report for this issue?
Not that I'm aware of.
I've just logged 560052.
comment:4 Changed 16 years ago by mf2k (Frank Schima)
I'm not seeing anything obvious in the configure options related to strptime(). I'm attaching the complete output of ./configure --help for gnucash. Let me know if you see something to enable.
Changed 16 years ago by mf2k (Frank Schima)
Attachment: | gnucash_config_options.txt added |
---|
comment:7 follow-up: 8 Changed 14 years ago by jmroot (Joshua Root)
Upstream finally checked in a workaround: http://svn.gnucash.org/trac/changeset/19461
comment:8 Changed 14 years ago by drkp (Dan Ports)
Owner: | changed from macports-tickets@… to dports@… |
---|---|
Status: | new → assigned |
comment:9 Changed 14 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to jmr@…:
Upstream finally checked in a workaround: http://svn.gnucash.org/trac/changeset/19461
And it's in 2.4.0, which I just updated the port to in r74828.
Is there an upstream bug report for this issue?