On Mon, 2006-08-07 at 09:48 -0700, Bryan Henderson wrote: > >flags = flags ? flags : ~0; > > Here's a little known GNU C feature that makes it even easier to read: > > flags = flags ?: ~0 I think the first one is easier to read. Probably since the second is "little-known" and requires a bit more thought to understand. -- David Kleikamp IBM Linux Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html