www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/10/18/02:06:27

From: Kbwms AT aol DOT com
Message-ID: <689509d3.3628a0c2@aol.com>
Date: Sat, 17 Oct 1998 09:50:58 EDT
To: Andris Pavenis <pavenis AT lanet DOT lv>
Cc: djgpp-workers AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Bug in system () (DJGPP-2.02)
X-Mailer: AOL 3.0 16-bit for Windows sub 38
Reply-To: djgpp-workers AT delorie DOT com

Dear Andris Pavenis,

On 10-17-98 at 08:11:11 EST you wrote:
> Hi!
>
> There is following bug in function system() in last alpha version of
> DJGPP (file src/libc/ansi/stdlib/system.c in djlsr202.zip):
>
> system ("somename.bat");
>
> crashes DOS session under WIN95 as plainsystem() errorously
> uses __spawnve() [line 233] instead of invoking shell. That of course
> is wrong for BAT file.
>

I ran your program under make 3.76.1 and Windows 3.1.  Your program
produced two instructions in test.bat on my system:

	dir
	ls

A bit overdone but harmless.  The size of the executable is 425,563
bytes which seems a trifle excessive.


K.B. Williams

- Raw text -


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