[Top][All Lists]

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

Re: [Bug-readline] Reference to xmalloc() in the readline FileMan applic

From: Chet Ramey
Subject: Re: [Bug-readline] Reference to xmalloc() in the readline FileMan application example
Date: Wed, 25 Jun 2008 09:07:21 -0400
User-agent: Thunderbird (Macintosh/20080421)

Stefano Sabatini wrote:
Hi all,

the application example in the readline manual contains a reference to
the xmalloc function which isn't defined in the file itself:

extern char *xmalloc ();

xmalloc is declared and a function definition is provided in the readline

And BTW the code is also missing some few headers like <stdio.h> and
<strings.h>, and maybe the dupstr() implementation should be replaced
by the use of strdup().

I will look at updating the version of the program in the manual from
the actual file distributed with the library.


``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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