This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in builtins.def, the execve. don't use execle, use execel.


On Thu, Nov 29, 2007 at 06:27:06PM -0500, Michael Meissner wrote:
> On Fri, Nov 30, 2007 at 12:17:25AM +0100, Andreas Schwab wrote:
> > "Michael Meissner" <michael.meissner@amd.com> writes:
> > 
> > > These system calls are part of the Opengroup standard for UNIX (which Linux
> > > adheres to), and they have been around for many years.  At this point, I don't
> > > recall if they were part of the UNIX V7 that is the ancestor of all modern
> > > Linux, UNIX, BSD, etc. systems or whether they first appeared in System III or
> > > BSD 4.2 (early 1980's).
> > 
> > According to <http://www.freebsd.org/cgi/man.cgi> they were already in
> > V7.
> 
> At this stage of the game, it doesn't matter, since they have been around at
> least 20 years.  However, I didn't think the environment varient of the
> functions (and main's arguments) was added until after V7.
> 
> > (I don't think V7 had <varargs.h> yet.)

The V7 sources have been freed and are online, so we don't have to rely on
memory.  Yes, V7 had varargs.h, it is at

http://minnie.tuhs.org/UnixTree/V7/usr/include/varargs.h.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]