bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-recutils] portability fixes


From: Jose E. Marchesi
Subject: Re: [bug-recutils] portability fixes
Date: Sat, 04 Dec 2010 20:53:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Hi Bruno.
    
    The use of gnulib in recutils-1.0/lib/ indicates that the package is
    meant to work also on platforms other than glibc systems, right?

Right :)
    
    Fix: Change rec-field-name.c to include <stdlib.h> instead of malloc.h.
    Likewise for rec-field.c, rec-fex.c, rec-parser.c, rec-record.c, rec-rset.c,
    rec-sex.c, rec-writer.c.

Fixed.
    
    This is because the function open_memstream(), and also fmemopen() which is
    used in rec-parser.c, exist only on glibc, Cygwin 1.7, and AIX 7.1.

I created a task to don't forget to fix this.  It is task #30.  You can
see it by typing:

   $ ./tasktool show 30

while in the recutils source tree.

Many thanks for reporting this :)    

-- 
Jose E. Marchesi    address@hidden
GNU Project         http://www.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]