delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/04/10:53:30

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Message-ID: <20020404155321.6517.qmail@web11306.mail.yahoo.com>
Date: Thu, 4 Apr 2002 07:53:21 -0800 (PST)
From: Prashant TR <prashant_tr AT yahoo DOT com>
Subject: Re: Sh-utils 2.0.11 sources
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>
In-Reply-To: <20020404033508.34582.qmail@web11301.mail.yahoo.com>
MIME-Version: 1.0
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

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