[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gawk] lint: substr complains
From: |
Steffen Schuler |
Subject: |
Re: [gawk] lint: substr complains |
Date: |
Sat, 5 Jul 2008 00:23:43 +0200 |
Hi Arnold,
2008/7/4 Aharon Robbins <address@hidden>:
> Hi Steffen,
>
>> Date: Wed, 02 Jul 2008 20:40:57 +0200
>> From: Steffen Schuler <address@hidden>
>> Subject: [gawk] lint: substr complains
>> To: Aharon Robbins <address@hidden>
>>
>> Hi Arnold,
>>
>> would you like that I fix the lint complains posted in gnu.utils.bug
>> at June, 30th?
>> (It's easy.)
>>
>> Regards,
>>
>> Steffen
>
> I haven't decided yet if I agree fully with his complaint. He is correct
> that --lint should not say that the assigned variable is uninitialized,
> and that is a real bug. If you want to look at that and send a patch
> relative to current CVS, that would be helpful.
>
> Thanks,
>
> Arnold
>
attached is the positively and negatively tested patch against the
current CVS version.
I tested also with valgrind. Corrected is only the uninitialized
return value of substr as you
wanted it.
Thanks for giving me this nice task,
Steffen
gawk_do_substr.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [gawk] lint: substr complains,
Steffen Schuler <=