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)

gnucash_config_options.txt (8.7 KB) - added by mf2k (Frank Schima) 16 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Is there an upstream bug report for this issue?

comment:2 in reply to:  1 ; Changed 16 years ago by robert.harris@…

Replying to jmr@…:

Is there an upstream bug report for this issue?

Not that I'm aware of.

comment:3 in reply to:  2 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:5 Changed 16 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Upstream finally checked in a workaround: http://svn.gnucash.org/trac/changeset/19461

comment:8 in reply to:  7 Changed 14 years ago by drkp (Dan Ports)

Owner: changed from macports-tickets@… to dports@…
Status: newassigned

comment:9 Changed 14 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.