[lkml]   [1999]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] linux/signal.h siginit*() optimization
>C and the order of case: and default: in switch() is irrelevant. default:
>being at the bottom is preferred only for readability, nothing more.

Its official: scripting causes brain damage. Now I know.

Thanks to several for pointing this out to me. One correspondent said that a
break statement is required by some compilers before exiting the switch
block by any branch. Is this in the standard?

The patch remains good, despite my aberrent reasoning. It fixes the problem
noted by Ronnie Misra. Is there a reason to prefer the unconventional order
of cases in these functions?

Someday I'll learn to recognise the flavor of my socks,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans