RFA: close-on-exec internal file descriptors
Eli Zaretskii
eliz@gnu.org
Sat Dec 6 17:05:00 GMT 2008
> Date: Sat, 6 Dec 2008 11:51:26 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> On Sat, Dec 06, 2008 at 08:58:03AM -0700, Tom Tromey wrote:
> > Eli> Can we do something more safe than this arbitrary [20] limitation?
> >
> > I don't think there is any point, because the mode argument to fopen
> > is never longer than 4 characters or so. However, if you really want
> > this, I will change it to a malloc.
>
> I find that alloca is good for these situations.
`alloca' is fine with me.
More information about the Gdb-patches
mailing list