www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/23/10:08:15

Date: Sun, 23 Aug 1998 17:08:11 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Michel de Ruiter <mdruiter AT cs DOT vu DOT nl>
cc: djgpp-workers AT delorie DOT com
Subject: Re: stat c:/con
In-Reply-To: <m0z98iZ-000XesC@sloep06.cs.vu.nl>
Message-ID: <Pine.SUN.3.91.980823170514.1451U-100000@is>
MIME-Version: 1.0

On Wed, 19 Aug 1998, Michel de Ruiter wrote:

> I run MS-DOS 7.0 without Win95. The problem is inconsistent behaviour
> of statting `c:/con'. I used the following small program:
> 
> #include <sys/stat.h>
> int main(void) {
>   struct stat s;
>   return stat("c:/con", &s);
> }
> 
> When I first run this program, the computer waits for me to input a
> line (which is *not* OK, IMHO).

This is specific to DOS 7.  I cannot reproduce this behavior on earlier 
versions or from Windows 95 DOS box that runs on top of DOS 7.

Please type the following from the COMMAND.COM prompt, and tell me what 
it prints:

	truename c:\con

Also see my other mail in this thread.

- Raw text -


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