quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [patch 2/5] port of Joe's backup-files.c over my nftw/ft


From: Andreas Gruenbacher
Subject: Re: [Quilt-dev] [patch 2/5] port of Joe's backup-files.c over my nftw/ftw/fts replacement
Date: Thu, 15 Sep 2005 17:59:24 +0200
User-agent: KMail/1.8

On Thursday 15 September 2005 17:39, Gary V. Vaughan wrote:
> With the patch:
>
> If there is alloca.h, use it
> else if alloca is #defined, use that
> else if using gcc, use it's builtin asm alloca
> else fail to compile.

Malloc is less elegant, but it should be good enough here, and very portable. 
If anybody has doubts, realloc and a static buffer would do as well. The 
patch is untested.

-- Andreas.

Attachment: malloc.diff
Description: Text Data


reply via email to

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