r16398 - gnucash/trunk/src/app-utils - In gncFindFile, use g_path_is_absolute instead of file=='/'.
andi5.py at gmx.net
Thu Aug 9 07:48:02 EDT 2007
Am Montag, den 06.08.2007, 21:46 -0400 schrieb Chris Shoemaker:
> On Mon, Aug 06, 2007 at 08:56:40PM -0400, Andreas Köhler wrote:
> > Author: andi5
> > Date: 2007-08-06 20:56:40 -0400 (Mon, 06 Aug 2007)
> > New Revision: 16398
> > Trac: http://svn.gnucash.org/trac/changeset/16398
> > Modified:
> > gnucash/trunk/src/app-utils/file-utils.c
> > Log:
> > In gncFindFile, use g_path_is_absolute instead of file=='/'.
> Do you happen to know if a non-absolute filename is even possible
> here? I looked into it a bit and couldn't see how it could occur.
I took only a glimpse on it and I am not sure enough to remove any code,
which is probably what you intended, right? ;-) One could (re)evaluate
those functions and src/scm/doc.scm once the reports are rewritten.
More information about the gnucash-devel