BUG: alternatives
Charles Wilson
cygwin@cwilson.fastmail.fm
Tue Nov 8 07:13:00 GMT 2005
Christopher Faylor wrote:
> I have mixed feelings about alloca, personally. I use it all of the time but
> it is always with some trepidation because, AFAIK, the failure condition for
> alloca is a SEGV. OTOH, it is very convenient.
>
> In this case, however, I think you really want to use realloc. You could even
> rely on the fact that realloc(NULL, n) is equivalent to malloc(n).
Okay, revised patch attached if anybody cares to comment. But more
importantly, a test release (1.3.20a-2) should be up on the mirrors soon.
--
Chuck
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alternatives-textmode-3.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051108/debc8ceb/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list