Date: Wed, 22 Aug 2001 22:11:14 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu Message-Id: <4098-Wed22Aug2001221113+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <10108221842.AA14832@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: Fseek on STDIN problem on Win 2K References: <10108221842 DOT AA14832 AT clio DOT rice DOT edu> 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 Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Wed, 22 Aug 2001 13:42:24 -0500 (CDT) > > > > Library change. We shouldn't be getting magic numbers on pipes. > > > > How can we detect that a particular handle is a pipe? Handle zero is > > not special: some program could close it and open some file on it. > > If get_dev_info returns zero and OS is NT, 99% of the time this will > be a pipe or weird handle. I'm not sure we know enough to rely on that. You effectively rely on a bug to tell you something very specific about the handle. > > > Also remember, that NT 4.0 and DJGPP have co-existed for 5 years, and > > > no one has reported this until now > > > > I'm not sure this is something we can rely on. I suspect that the > > number of people who used DJGPP on NT is very small. That's the only > > way I can explain to myself how come I see the nuisances of DJGPP use > > on NT (see section 3.3 of the FAQ) reported so infrequently on > > c.o.m.d. > > The LFN TSR is a really cool thing - I'll bet if we pushed it more > heavily NT 4 would get more usage. Maybe it just needs marketing :-) I think it didn't get more usage and more marketing because very few people really tried to use DJGPP on NT. Perhaps we should have offered it to Microsoft ;-)