[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AT_KEYWORDS failure: cmdline OR-combinations
From: |
Ralf Wildenhues |
Subject: |
Re: AT_KEYWORDS failure: cmdline OR-combinations |
Date: |
Fri, 26 Aug 2005 01:48:45 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Paul,
* Paul Eggert wrote on Thu, Aug 25, 2005 at 11:31:30PM CEST:
> Ralf Wildenhues <address@hidden> writes:
>
> > - if (v1 == "") d1 = v1; else { d1 = substr(v1, 1, 1); v1 = substr(v1,2) }
> > - if (v2 == "") d2 = v2; else { d2 = substr(v2, 1, 1); v2 = substr(v2,2) }
> > + if (v1"" == "") d1 = v1; else { d1 = substr(v1, 1, 1); v1 =
> > substr(v1,2) }
> > + if (v2"" == "") d2 = v2; else { d2 = substr(v2, 1, 1); v2 =
> > substr(v2,2) }
>
> That looks fairly safe, but even safer would be to use the length function,
> since earlier bits of the code already do that. I installed this:
Hate to tell you, but Stepan and I have been working on this more,
off-list. He's done the analyzing part and has come up with a more
comprehensive fix, I've merely executed the tests. I suppose he will
announce his final patch soon.
But thanks anyway!
Cheers,
Ralf
- Re: AT_KEYWORDS failure: cmdline OR-combinations, (continued)
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/16
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Ralf Wildenhues, 2005/08/16
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/17
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Ralf Wildenhues, 2005/08/17
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/17
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/23
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Ralf Wildenhues, 2005/08/17
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/17
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Ralf Wildenhues, 2005/08/19
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Paul Eggert, 2005/08/25
- Re: AT_KEYWORDS failure: cmdline OR-combinations,
Ralf Wildenhues <=
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/26
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Paul Eggert, 2005/08/26
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Ralf Wildenhues, 2005/08/27
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Stepan Kasal, 2005/08/28
- Re: AT_KEYWORDS failure: cmdline OR-combinations, Ralf Wildenhues, 2005/08/28