[lkml]   [2006]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch 1/1] consolidate TRUE and FALSE
    On Thu, 16 Mar 2006 13:26:39 -0800
    Andrew Morton <> wrote:

    > C99 does have boolean support, so the proper thing to do is to start
    > using it - implement stdbool.h, fix up fallout, start fixing subsystems.
    > Given that, and as Greg has fixed up this particular build error I'll drop
    > the patch.

    Isn't there a runtime cost converting all "non-false" values to a unique "true" (i.e. converting non-zero values to one) ?
    I mean:

    bool res = strcmp(string, "whatever");

    ... will convert res to 0 or 1, which is totally useless except perhaps for comprehension (and again, not for Al Viro for example :)


    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: 2006-03-17 23:40    [W:0.020 / U:106.084 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site