[BusyBox] It's the preprocessor, stupid

Erik Andersen andersen at lineo.com
Tue Jan 30 19:38:51 UTC 2001


On Tue Jan 30, 2001 at 11:18:28AM -0800, Larry Doolittle wrote:
> 
> One more silly question: in ls.c, I see
> 
> #ifndef NAJOR
> #define MAJOR(dev) (((dev)>>8)&0xff)
> #define MINOR(dev) ((dev)&0xff)
> #endif
> 
> It's been like that since at least 0.48.  Is "NAJOR" real, or
> a typo?  If a typo, let's fix it.  If it's real, we should explain
> why in a comment.

Ulp.  This is indeed a typo.  Fixed.

I'm starting to wonder if a quick egg-on-face-bugfix release
might be in order.

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list