www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/28/15:06:49

Date: Mon, 28 Oct 2002 21:10:55 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: The Bat! (v1.61) Personal
X-Priority: 3 (Normal)
Message-ID: <5832744494.20021028211055@softhome.net>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
Subject: Re: GCC 3.2 building with 2.04 trouble on W2K (NTVDM crash)
In-Reply-To: <7458-Sun27Oct2002004757+0200-eliz@is.elta.co.il>
References: <10210210510 DOT AA21415 AT clio DOT rice DOT edu>
<75381002462 DOT 20021022170727 AT softhome DOT net>
<39723724651 DOT 20021026161829 AT softhome DOT net>
<1659-Sat26Oct2002170848+0200-eliz AT is DOT elta DOT co DOT il>
<139735779174 DOT 20021026193923 AT softhome DOT net>
<7458-Sun27Oct2002004757+0200-eliz AT is DOT elta DOT co DOT il>
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Oct 2002 19:08:18.0752 (UTC) FILETIME=[602CBC00:01C27EB5]
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

> One idea is to put a call to `getch' conditioned by the specific way
> that it fails.  When getch is called, the program is put on hold until
> you hit a key.  I'd then suggest to open another DOS box and look
> around in the directory where it tries to create the response file.
> Are there any files there? how many? is dj410000 one of them? can you
> create a file by that name in the same directory with some other
> program, like `touch'?

I've tried getch() and scanf() to no avail, with or without clearing
keyboard buffer in advance :( I don't understand that at all. Also
I've tried system("") but that didn't work neither. (Maybe because
system() isn't reentrant?..). printf() or fprintf does work in that
code path, however keyboard does not. I kinda suspect silly
programming error from my side, but I've double-checked it...

I guess I'll find out how fixincludes works and try narrowing testcase
soon.

Laurynas


- Raw text -


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