delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/12/02/07:00:20

Message-Id: <m0zlAi3-000S55C@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Wed, 2 Dec 1998 08:53:09 +0000
MIME-Version: 1.0
Subject: Re: bug in stat?
References: <m0zktQM-000S60C AT inti DOT gov DOT ar>
In-reply-to: <Pine.SUN.3.91.981202105450.24125N-100000@is>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
 
> On Tue, 1 Dec 1998, Salvador Eduardo Tropea (SET) wrote:
> 
> > /dev/prn -> v2.01 and v2.02: is a device
> > prn -> v2.02: is a device
> > /foo/prn -> both says that's a normal file but DOS
> > understands it as a device.
> > 
> >   The questions are:
> >   Is just me? (I mixed stat from v2.02 and the rest of 2.01)
> >   Is that easy to solve? I didn't tried because I know Eli
> > knows all the guts of stat and I guess he can find the
> > solution much more quickly and cleanly.
> 
> I would gladly help, but I don't see the problem: "/foo/prn" works
> for me in both patched 2.01 libc and in the latest 2.02 beta.  (I
> don't have stock 2.01 to try.)
> 
> Maybe you mixed versions in a way that broke something?  

Yes perhaps was it.

> You need to
> use the entire libc.a and the include directory from v2.02, to get
> consistent results (use -I and -L switches to gcc to force it to
> search the correct directories).  Some parts of this puzzle are solved
> in places other that stat.c proper (I think _truename and _put_path
> have something to do with how the devices are handled).

Ok. I have an experimental djgpp installation. Is reduced but complete 
enough. I did it last night to test egcs v.s. pgcc v.s. gcc using some BYTE 
benchmarks. So I'll try to compile a test with it.

BTW, I compiled the1996 BYTE benchmarks with the 3 compilers and I can 
contrast the results with a Watcom 10a compiled exe. Should I post the 
results?

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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