delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/05/00:35:04

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: new-smtp1.ihug.com.au: Host p490-tnt3.syd.ihug.com.au [203.173.133.236] claimed to be acceleron
Message-ID: <002501c1dc63$81683dd0$0102a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>
References: <20020404155321 DOT 6517 DOT qmail AT web11306 DOT mail DOT yahoo DOT com>
Subject: Re: Sh-utils 2.0.11 sources
Date: Fri, 5 Apr 2002 15:33:36 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

Prashant,

This patch fixed dirname. I will do a complete rebuild of everything
tonight. If all goes well a refesh of the 2.04 files on clio may occur this
weekend.

Thanks,
Andrew
----- Original Message -----
From: "Prashant TR" <prashant_tr AT yahoo DOT com>
To: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>; <djgpp-workers AT delorie DOT com>;
<tr AT yahoo-inc DOT com>
Cc: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Sent: Friday, April 05, 2002 1:53 AM
Subject: Re: Sh-utils 2.0.11 sources


> Hi,
>
> Please add this patch and try. Wonder how I missed
> this thing out...
>
> Thanks,
> Prashant
>
> --- dirname.c~  Sat Mar 30 14:57:36 2002
> +++ dirname.c   Thu Apr  4 21:23:22 2002
> @@ -109,6 +109,11 @@
>               slash = (char *)path + 2;
>               length = slash - path + 1;
>             }
> +         else
> +           {
> +             path = ".";
> +             length = 1;
> +           }
>         }
>      }
>    else
>
> --- Prashant TR <prashant_tr AT yahoo DOT com> wrote:
> > --- Andrew Cottrell <acottrel AT ihug DOT com DOT au> wrote:
> > > Preshant,
> > >
> > > I am in the process of rebuilding all of the 2.04
> > > files available at clio
> > > and including updates such as the Shell Utils
> > alpha
> > > release. I have built
> > > the shell utils 2.0.11 and the dirname has a
> > problem
> > > where it displays
> > > garbage or is there some undocumented feature
> > where
> > > this is the time and
> > > priveleges of the directory?. Below are the
> > results
> > > from dirname from the
> > > 2.0j and the 2.01 builds. The reason for finding
> > > this was that this caused
> > > GCC 3.04 build to fail.
> > >
> > >
> > > DJGPP_204 D:\dj204\gnu>old\sh-util2.0j\src\dirname
> > > old
> > > .
> > >
> > > DJGPP_204 D:\dj204\gnu>sh-util2.01\src\dirname old
> > > old                                       ?   ?s
> >
> > >   Ht           DJGP?
> >
> > This looks like a bug with the new version. There
> > were
> > a few changes that I made, which seems to be
> > failing.
> > I'll send you a patch once I get back from work or
> > if
> > possible earlier.
> >
> > It should have printed a ".".
> >
> > Thanks,
> > Prashant
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://taxes.yahoo.com/
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>

- Raw text -


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