[Info-vax] OpenSource provides some of the best message SIGs

Chris xxx.syseng.yyy at gfsys.co.uk
Sun May 13 11:42:31 EDT 2018


On 05/12/18 21:22, seasoned_geek wrote:
> On Saturday, May 12, 2018 at 12:55:44 PM UTC-5, Paul Sture wrote:
>> On 2018-05-12, seasoned_geek wrote:
>>> Found someone using this in my Qt email list.
>>>
>>>
>>>         /*
>>>          *  if(ct<0)
>>>          *          ct=2;        /* Shit happens.. *\/
>>>          *  linux-2.6.6/drivers/net/wan/z85230.c
>>>          */
>>>
>>
>> <http://openvms.sture.ch/images/tram_in_bern.jpg>
>>
>> --
>> In times of profound change, the learners inherit the earth, while the
>> learned find themselves beautifully equipped to deal with a world that
>> no longer exists.                                         –– Al Rogers
>
> ROFLMAO
>

Yeah, ct must be an unsigned variable if < 0. Can remember quite a few 
problems caused by the use of unsigned variables when the value flipped
negative and is one of the reasons why the standard C lib needs to be
rewritten. I mean how can a char be unsigned...

Regards,

Chris




More information about the Info-vax mailing list