cvs commit: src/usr.bin/xargs xargs.c

David Schultz das at FreeBSD.ORG
Fri Jun 13 02:07:51 PDT 2003


On Fri, Jun 13, 2003, Juli Mallett wrote:
> * David Schultz <das at FreeBSD.ORG> [ Date: 2003-06-13 ]
> 	[ w.r.t. Re: cvs commit: src/usr.bin/xargs xargs.c ]
> > On Fri, Jun 13, 2003, Juli Mallett wrote:
> > > jmallett    2003/06/13 00:37:45 PDT
> > > 
> > >   FreeBSD src repository
> > > 
> > >   Modified files:
> > >     usr.bin/xargs        xargs.c 
> > >   Log:
> > >   Use waitpid, instead of wait3, which is more portable.
> > 
> > Just out of curiosity, why do we care about the portability of our
> > own userland utilities to someone else's kernel that doesn't
> > support wait3()?
> 
> In case we ever want to be build-anywhere friendly like NetBSD,
> want to use only the most appropriate functions, or want to reduce
> diffs with a utility that OpenBSD bothered to sync with us.

Aah, okay.  FYI, all the BSDs, Linux, Solaris, AIX, etc. have
wait3() and wait4(), although I guess it's technically not standard.


More information about the cvs-src mailing list