lkml.org 
[lkml]   [2004]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OT] Re: 0xdeadbeef vs 0xdeadbeefL
On Thu, Jul 08, 2004 at 11:32:50AM +0200, Gabriel Paubert wrote:

> Yes, I know and I use BK. But given the fact that you insult me for
> better knowing C rules than you, I'm seriously considering switch
> to subversion or arch instead.
>
> Argh, I've mentioned BK. There should be a Goldwin's law equivalent
> for BitKeeper on lkml ;-)

Godwin, surely?

Anyway, if you think that suckversion authors knew C... Try to read their
decoder/parser/whatever you call the code handling the data stream obtained
from other end of connection. _Especially_ when it comes to signedness
(of integers, mostly).

> - the aforementioned fgetc/getc/getchar issues.

... have nothing to do with char; getc() has more legitimate return values
than char can represent. No matter whether it's signed or unsigned, if
you have
... char c;
...
c = getc();
you have a bug - Dirichlet Principle bites you anyway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.074 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site