🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #342

Annoying prototypes for execv* functions in V.4 <sys/unistd.h>

#342
From: Ron Guilmette
Date: Wed, 30 Jan 1991 21:59
21 lines
1243 bytes
If you use and/or sell System V Release 4 you may want to fix up your
<sys/unistd.h> file.

It probably contains:

extern int execv(const char *, char *const *);
extern int execve(const char *, char *const *, char *const *);
extern int execvp(const char *, char *const *);

I'm fairly sure that these declarations should be changed to:

extern int execv(const char *, const char *const *);
extern int execve(const char *, const char *const *, const char *const *);
extern int execvp(const char *, const char *const *);

If your company sells V.4 ports to the general public (either on your
company's own hardware or on somebody else's) I encourage you to fix
this annoying little problem in the systems that your company distributes
to its customers.

Please don't make us all suffer with this annoying glitch.
Technical Details
Message-ID: <3598@lupine.NCD.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!infopiz!lupine!lupine.ncd.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!infopiz!lupine!lupine.ncd.com
From: rfg@lupine.ncd.com (Ron Guilmette)
Newsgroups: comp.bugs.sys5
Subject: Annoying prototypes for execv* functions in V.4 <sys/unistd.h>
Message-ID: <3598@lupine.NCD.COM>
Date: 30 Jan 91 21:59:21 GMT
Sender: rfg@NCD.COM
Organization: Network Computing Devices, Inc., Mt. View, CA
Lines: 21