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: ohndfsbkjb
Subject: Re: [Bug-readline] readline crashes when used from msvc
Date: Fri, 15 Apr 2016 17:16:05 +0200

> 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)
 
> 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?

reply via email to

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