bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Samuel Thibault
Subject: Re: Fwd: Re: [PATCH] Steal all string functions from the libc
Date: Thu, 3 Apr 2014 09:25:48 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

dardevelin@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]