[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ar 2.10.91 and command scripts
From: |
DJ Delorie |
Subject: |
Re: ar 2.10.91 and command scripts |
Date: |
13 Jul 2001 13:21:12 -0400 |
"Eli Zaretskii" <address@hidden> writes:
> I don't maintain Binutils. It's up to the maintainer to tell whether
> he accepts the patch I suggested.
+ while (*s && !IS_DIR_SEPARATOR (*s))
+ s++;
Wouldn't this find the first path component, not the last?
I'd think you'd want something like this:
tmp = s;
for (; *s; s++)
if (IS_PATH_SEPARATOR(*s))
tmp = s+1;
s = tmp;