[lkml]   [2003]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: hmm..
    On Thu, Dec 25, 2003 at 02:56:37AM -0500, wrote:
    > work-around because IBM refused to fix it on the grounds that the VALC macro
    > was to protect against a SEGV if the macro was fed an 'int' rather than a
    > 'char' (why they didn't just use 'mask[__c & 255]' is beyond me), and that you


    a) is...() must be able to deal with any value that fits into unsigned char
    and with EOF. Behaviour on anything else is undefined, so their argument
    is obviously bogus.

    b) mask[__c & 255] is _not_ a solution, simply because EOF and 255 might
    have different properties. Doesn't apply to kernel, but our is...()
    do not bother with EOF at all. Userland ones have to.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:59    [W:0.029 / U:78.640 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site