Re: Fwd: Re: [PATCH] Steal all string functions from the libc

2014-04-03 Thread dardevelin
You are totally right. my fault on missing that detail. On 2014-04-03 08:25, Samuel Thibault wrote: dardeve...@cidadecool.com, le Thu 03 Apr 2014 00:37:05 +0200, a écrit : however I could not avoid seeing strcmp function not checking for '\0' in s2 and just s1, No: if b happens to be 0 while

Re: Fwd: Re: [PATCH] Steal all string functions from the libc

2014-04-03 Thread Samuel Thibault
dardeve...@cidadecool.com, le Thu 03 Apr 2014 00:37:05 +0200, a écrit : > however I could not avoid seeing strcmp function not checking for '\0' > in s2 and just s1, No: if b happens to be 0 while a is not, then the if (a!=b) is true and we return a-b. Samuel