Mail Archives: djgpp-workers/2001/01/23/05:17:54
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 -