On Mon, Aug 07, 2006 at 12:06:05PM -0500, Dave Kleikamp wrote: > 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 Bryan: Interesting, I didn't know that. > I think the first one is easier to read. Probably since the second is > "little-known" and requires a bit more thought to understand. Agreed. Josef "Jeff" Sipek. -- #endif /* NO LIFE */ - 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