NetBSD-Bugs archive

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

Re: lib/47120: libc alloca(3) seems to fail



The following reply was made to PR lib/47120; it has been noted by GNATS.

From: Steffen "Daode" Nurpmeso <sdaoden%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: netbsd-bugs%netbsd.org@localhost, lib-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost
Subject: Re: lib/47120: libc alloca(3) seems to fail
Date: Thu, 25 Oct 2012 15:16:57 +0200

 christos%zoulas.com@localhost (Christos Zoulas) wrote:
 
  |The following reply was made to PR lib/47120; it has been noted by GNATS.
  |
  |From: christos%zoulas.com@localhost (Christos Zoulas)
  |To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost, 
  |     gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
sdaoden%gmail.com@localhost
  |Cc: 
  |Subject: Re: lib/47120: libc alloca(3) seems to fail
  |Date: Wed, 24 Oct 2012 18:29:29 -0400
  |
  | On Oct 24,  9:50pm, sdaoden%gmail.com@localhost (Steffen "Daode" Nurpmeso) 
wrote:
  | -- Subject: Re: lib/47120: libc alloca(3) seems to fail
  | 
  | We've been discussing this issue programs that use alloca(3) should use
  | the compiler-supplied version not the libc supplied one. I've added a \
  |warning
  | about uses of alloca(3) from libc so in current, programs that use the \
  |libc
  | alloca(3) will get a warning. I've also updated the man page for \
  |alloca(3).
  | 
  | christos
 
 Ok, i've switched mine to only look for __builtin_alloca() and
 fall back to malloc(3) otherwise.
 
 --steffen
 


Home | Main Index | Thread Index | Old Index