Re: [RFC] #define rwxr_xr_x 0755

From: Jan Engelhardt
Date: Sat Jul 29 2006 - 04:01:24 EST


>> > >> 0644 vs S_IRUGO|S_IWUSR vs rw_r__r__
>> > >>
>> > >> I'd say #2 really sucks.
>> > >
>> > >IMHO #3 sucks more, it's not as easy to spot when glossing over the
>> > >code, the underscores make it quite ugly (think _r________) and it's
>>
>> Even better!
>
>So now tell me how is S_I0644 better than 0644? S_IRUGO et al at least hide
>implementation details.

+1.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/