delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/13/19:00:03

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gawk 3.1.1: bug in stdout redirection on WinNT 4.0
Date: Tue, 13 May 2003 17:46:18 CDT
Organization: Rice University, Houston, TX
Lines: 6
Message-ID: <3ec175ba.sandmann@clio.rice.edu>
References: <7458-Thu08May2003190131+0300-eliz AT elta DOT co DOT il> <3EBF8E05 DOT 3050102 AT lml DOT ls DOT fi DOT upm DOT es>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1052866102 18951 128.42.105.3 (13 May 2003 22:48:22 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: Tue, 13 May 2003 22:48:22 +0000 (UTC)
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

FYI - adding lseek(1, 0, SEEK_END) to the beginning of the program 
will work around the bug (if you can't run from bash) on WinNT 4
and Win2K.  Thinking about how to get this into next 2.04 build.

(There are bad bugs in NT and Win2K's seek handling on the pre-opened
handles!)

- Raw text -


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