Mail Archives: djgpp-workers/2002/04/05/00:35:04
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 -