any value in a standard for defining bit flags?
Robert P. J. Day
rpjday at mindspring.com
Mon Jul 3 17:02:43 UTC 2006
On Mon, 3 Jul 2006, Rob Landley wrote:
> On Sunday 02 July 2006 4:58 pm, Robert P. J. Day wrote:
> > wouldn't it be easier to pick one and go with that?
>
> I see no benefit in this. As long as each applet is consistent within itself,
> it doesn't have to be consistent from applet to applet.
>
> > and wouldn't it make more sense to use an enum rather than just a
> > set of defines, anyway?
>
> Again, I don't see the benefit. (For one thing, an enum has to fit
> in an int, and our getopt_ulflags() returns a long.
ah, quite right. carry on.
rday
More information about the busybox
mailing list