Message-ID: <3EC1E8B6.2070100@lml.ls.fi.upm.es> Date: Wed, 14 May 2003 08:56:54 +0200 From: Manuel Collado User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: gawk 3.1.1: bug in stdout redirection on WinNT 4.0 References: <7458-Thu08May2003190131+0300-eliz AT elta DOT co DOT il> <3EBF8E05 DOT 3050102 AT lml DOT ls DOT fi DOT upm DOT es> <3ec175ba DOT sandmann AT clio DOT rice DOT edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 138.100.10.20 X-Trace: 14 May 2003 08:54:10 +0100, 138.100.10.20 Lines: 13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Charles Sandmann wrote: > 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!) Thanks ! -- To reply by e-mail, please remove the extra dot in the given address: m.collado -> mcollado