bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] readline crashes when used from msvc


From: Chet Ramey
Subject: Re: [Bug-readline] readline crashes when used from msvc
Date: Fri, 15 Apr 2016 11:18:54 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

On 4/15/16 11:16 AM, address@hidden wrote:
>> Readline uses xmalloc and xrealloc to allocate its memory, and, since at
> least readline-5.0, provides an xfree() function to free it.
>  
> I couldn't find any hint about xfree beeing exported in the 5.0
> docuementation (rlman.pdf shipped with the readline 5 package on gnuwin32),
> and there is not xfree symbol in the readline include header files (shipped
> with the readline 5 package on gnuwin32)

You can still use it.

>> Beginning with readline-6.0, there is also an rl_free function should you
> want to use it.
>  
> Thx, i am happy to hear that this is fixed. Unfortunateley the gnuwin32
> didn't update their readline versions to that version, and compiling
> readline 6.0 with msvc didn't work eigher, because i get errors about
> undefined struct 'dirent' in complete.c (and the msvc compiler crashes
> afterwards, but this is sureley not your fault, maybe i should make a
> bugreport at microsoft.) i don't know whether there are more issues. Do you
> know of another source to get 6.0 or later readline binaries on windows?

Sorry, I don't really pay much attention to the Windows environment.  I
become aware of things like this when people tell me.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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