delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2019/08/18/19:03:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1566169150;
bh=ibSu63UIv7vjLZ1hfXqULUzYF2imu9RMnSf+U+BKGg0=;
h=In-Reply-To:From:Date:References:To:Subject:Message-ID;
b=KzL7pWGvkBdkKA116AiSI43ylUDC3+pKBPMJLdPLx/3iD7GeQsLQ6YgxvG1QCD9po
Fpy9M6DO/h6bxrSsJFwC8BnQ95fKMnmQtszudZG7q2paF2Y7Ae1WGm+PlV2DiPYKR4
4811SSfjRAsc8isqaOTJ+kmgZRzeSpwA0MB0TAH8=
Authentication-Results: mxback20j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Subject: Re: [patch] fix empty environment handling
To: djgpp AT delorie DOT com
References: <93e55dbd-cbd4-9de1-2c29-c7bb08d872f0 AT yandex DOT ru>
<CAA2C=vCoQth+AZc9FsEqX2A2STx9kVMvJ8moYHLzjgP=uc1cMQ AT mail DOT gmail DOT com>
<b9b8c99b-39aa-b451-f7fa-8ba812f29503 AT yandex DOT ru> <5D56EA51 DOT 3010509 AT gmx DOT de>
<a507b2e5-3c52-ab52-6b2f-4622b6f40e01 AT yandex DOT ru> <5D59BA31 DOT 90305 AT gmx DOT de>
<a7d6213a-6609-30ba-967a-99b7fcfb8663 AT yandex DOT ru> <5D59CB52 DOT 5040809 AT gmx DOT de>
From: "stsp (stsp2 AT yandex DOT ru) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <c89e0e06-ee78-c0ac-e4ca-d6fe6afb2956@yandex.ru>
Date: Mon, 19 Aug 2019 01:59:10 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <5D59CB52.5040809@gmx.de>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x7IMxn8X009795
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

19.08.2019 1:04, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via 
djgpp AT delorie DOT com] пишет:
> Sorry for creating confusion.  On Windows comcom32 works fine.
> This means it produces a prompt and you can run commands when
> the environment is large enough.

Thank you very much for the testing!
I updated the shell to work properly w/o env increase:
https://github.com/stsp/comcom32/raw/master/tmp/comcom32.exe
You don't need this of course. :)

> My intention was to report that no error like in MSDOS 6.22
> is produced by Windows versions so it looks to me as if this
> issue is really DOS specific and has been fixed in later Windows
> versions as you noted already.

When you run something from under windows, environment
can't be empty, simply because it is not the beginning of a
boot process. OS is already loaded, environment is filled.
So whether or not it is fixed, it will likely never trigger.


> Even on plain MSDOS 7.10 I have experienced no issue. To be
> sure that comcom32.exe is really used at booting on 7.10, I have
> renamed the command.com installed in c:\windows\.  On plain
> 7.10 I get no message like on 6.22 and comcom32 works and
> runs programs when the environment is large enough. 
Thanks, so the patch doesn't hurt.
The interesting thing though is that "strip" command
of djgpp complains on that binary, it doesn't like the
modified stub. Does it have to be re-built? But any idea
why does it compare the stub for an exact match, and
can this be relaxed?

- Raw text -


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