Subject: Re: CVS commit: basesrc/usr.bin/find
To: Simon Burge <simonb@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-misc
Date: 09/14/2001 12:19:23
Would there be any sense in converting execvp() to use alloca()?
It seems akward to leave an interaction between vfork() and
execvp()...
--
David/absolute -- www.netbsd.org: No hype required --
On Fri, 14 Sep 2001, Simon Burge wrote:
>
> Module Name: basesrc
> Committed By: simonb
> Date: Fri Sep 14 08:19:25 UTC 2001
>
> Modified Files:
> basesrc/usr.bin/find: function.c
>
> Log Message:
> Use fork() instead of vfork(). The child calls execvp(), which calls
> strdup(), which calls malloc()...
>
> Fixes problem with "find .. -exec" growing as reported by Kazushi Marukawa
> on current-users@.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.35 -r1.36 basesrc/usr.bin/find/function.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>
>