r21900 - gnucash/trunk/src/backend/xml - Bug #668926: Fixes build on GNU/Hurd

Christian Stimming cstim at code.gnucash.org
Sat Jan 28 17:05:51 EST 2012


Author: cstim
Date: 2012-01-28 17:05:50 -0500 (Sat, 28 Jan 2012)
New Revision: 21900
Trac: http://svn.gnucash.org/trac/changeset/21900

Modified:
   gnucash/trunk/src/backend/xml/gnc-backend-xml.c
Log:
Bug #668926: Fixes build on GNU/Hurd

A buffer of fixed size PATH_MAX is created, but this constant is non-existent
on GNU/Hurd, so the package FTBFS on that architecture.
The fix consists in using a dynamically (re-)allocated buffer, as recommended
on: http://www.gnu.org/software/hurd/hurd/porting/guidelines.html



More information about the gnucash-patches mailing list