make-w32
[Top][All Lists]
Advanced

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

Re: Make CVS HEAD version build out of the box


From: Yongwei Wu
Subject: Re: Make CVS HEAD version build out of the box
Date: Wed, 3 Oct 2007 19:26:29 +0800

On 03/10/2007, Eli Zaretskii <address@hidden> wrote:
> > From: Paul Smith <address@hidden>
> > Cc: Yongwei Wu <address@hidden>, address@hidden
> > Date: Tue, 02 Oct 2007 21:39:04 -0400
> >
> > On Tue, 2007-10-02 at 17:26 +0200, Eli Zaretskii wrote:
> > > What advantage is there in using alloca?
> >
> > So, alloca() is nice because it's dynamic.
>
> But it could get you in trouble if the file name in question is very
> long, since the stack is limited.

char array[MAX] also allocates on the stack.  So alloca is better,
since it should allocate less.

Best regards,

Yongwei

-- 
Wu Yongwei
URL: http://wyw.dcweb.cn/




reply via email to

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