[PATCH 2 of 3 V4 RFC] model (1): c-hglib: hg_log() level 1 function

Giovanni Gherdovich g.gherdovich at gmail.com
Wed Sep 4 04:27:21 CDT 2013


>>>
>>> if (buffer contains null byte){
>>>         consume data;
>>>         return something;
>>> } else {
>>>         read until you get a null byte;
>>> }
>>>

the above is incorrect. Less wrong:

------------------------------------------
if (buffer *does not* contains null byte){
        read until you get a null byte;
}
consume data;
return something;
------------------------------------------

I mean, you got it.

GGhh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130904/9be4b0c7/attachment.html>


More information about the Mercurial-devel mailing list