delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/09/21/02:53:18

X-Authentication-Warning: new-smtp1.ihug.com.au: Host p290-tnt1.syd.ihug.com.au [203.173.129.36] claimed to be acceleron
Message-ID: <009801c14268$8da07620$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>,
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
References: <10109200249 DOT AA17712 AT clio DOT rice DOT edu>
Subject: Re: W2K error message documentation
Date: Fri, 21 Sep 2001 16:42:14 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

I'm back... 180 emails and reading!!!!

When I first looked at the problem I thought it was a Make problem, but this
was wrong. The following was what I sent out on
djgpp-workers/2001/07/24/08:34:35:

This message comes from the following, which is spawned from line job.c
approx line 1200 (+/- 30 lines due to debugging ) from the spawnvpe line
1) Reproducable Windows 2000 command line prompt:
    DJGPP_204 D:\dj204\gnu\make-3.791>command.com /c if not exist glob\nul
md glob
    Extended Error 183
2) Debugged code output:
    job.c 1199
    argv[0] = command.com
    argv[1] = /c
    argv[2] = if
    argv[3] = not
    argv[4] = exist
    argv[5] = glob\nul
    argv[6] = md
    argv[7] = glob

Tests on Win2000 box:
1) If I run the following in the command prompt there is no error
    if not exist glob\nul md glob
2) If I run the following in the command prompt there the output informs me
the echo is on
    command.com /C if not exist glob\nul echo
3) If there is no glob directory the following command runs okay the first
time it is run, but the second time and until the glob directory is deleted
the error occurs.
     command.com /C if not exist glob\nul md glob

Conclusion for Extended Error 183:
Windows 2000 command.com is not able to perform the test for a directory as
per DOS and Winodows 9x via a check for directory\nul.

Additional info 21-Sep-2001:
Overall the error is not realy an error as such if the directory does not
exist it is created and if it does exist then Win 2K tries to create it
again.


> The command (present in the mak3791 makefile) under Windows 2000 or XP:
>
> "command.com /c if not exist glob\nul md glob"
>
> Returns "Extended Error 183" only if directory exists.  If not, it creates
it.
> This is seen during the make.
>
> This string is not in any DJGPP image, only in command.com.  Using cmd.exe
> with same command does not generate error.  Both reproducible w/o DJGPP.
>
> I think this is cosmetic W2K bug/issue.  Should we worry about it?
> Change the makefile to suppress it?  Ignore it?
>
> Using command.com only allows the md command to be limited to short names,
> something I found in testing; using cmd.exe no limits, no errors.
>

- Raw text -


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