www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/07/02:29:44

Date: Sat, 07 Jul 2001 09:26:43 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <2110-Sat07Jul2001092643+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3B45C9F9.1814.A88009@localhost> (snowball3@bigfoot.com)
Subject: Re: dosexec.c changes
References: <3B44DBB0 DOT 9188 DOT 1772CD AT localhost> (snowball3 AT bigfoot DOT com) <3B45C9F9 DOT 1814 DOT A88009 AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Fri, 6 Jul 2001 14:23:53 -0400
> 
> I'll leave out the find_* functions since they haven't changed and
> the obvious changes to the spawn* functions.

Ahm... I don't think you posted them the first time ;-)

> int spawnve(int mode, const char *path, char *const argv[], char *const envp[])

I think this should be __spawnve, because some Posix functions call
it by that name.  spawnve is generated by one of the stubs.

>   if (strlen(path) > FILENAME_MAX - 1)
>   {
>     errno = ENAMETOOLONG;
>     return -1;
>   }

Shouldn't we add another test like this after an extension is
appended?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019