delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/23/05:17:54

Date: Tue, 23 Jan 2001 12:16:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Robert van der Boon <rjvdboon AT europe DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: patch.exe (fwd)
In-Reply-To: <000701c0848f$fc5b8560$cbed79c3@internet>
Message-ID: <Pine.SUN.3.91.1010123121545.9288F-100000@is>
MIME-Version: 1.0
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

On Mon, 22 Jan 2001, Robert van der Boon wrote:

> _doserrno == 0xB7 (network segment error...)
> So treating 0xB7 && fileexist the same as 0x2 && fileexist gives the
> following
> patch to _rename.c, and then it works:

Thanks!

> !    && (r.x.ax == 5 || ((r.x.ax == 2 || r.x.ax==0xB7) &&
> __file_exists(old))))

Why do you think it is necessary to test if the old file exists?  Does
W2K return 0xb7 even if the file does not exist?

> Another thing I noticed was that the following text (or better: all texts
> without \n):
> "Reversed (or previously applied) patch detected!  Assume -R? [n]"
> don't show up _before_ you press a valid key, but only _after_ you
> press y/n/space. It seems like fflush isn't working either

Yes, someone posted reports to that effect in the past.  Feel like
digging into this one as well? ;-)

> but it does work if I'm in GDB.

GDB uses termios, which redirects all screen writes through Int 29h.
So it looks like only DOS I/O is affected.

> "W2K is a pain in the lower posterior" (tm)

Tell me about it.  Another report from the trenches seems to indicate
that you cannot redirect stderr separately from stdout.  Could you try
this with `redir' and see if that's really so?

Thanks a lot for your help.

- Raw text -


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