[BusyBox] [PATCH] PATH_MAX undefined in [u]mount.c

Glenn McGrath bug1 at optushome.com.au
Sat Jan 26 20:36:03 UTC 2002


On Sat, 26 Jan 2002 18:39:58 -0600
"M. R. Brown" <mrbrown at 0xd6.org> wrote:

> > Well, the GNU Hurd does not.
> 
> 2) How is that related to anything?
> 

I (re)installed GNU/Hurd the other day, ive done some work on
customising busybox with the new build system, just sorting out stuff
that compiles from that which doesnt, havent tested anything yet though,
havent looked at cross-compiling either.


PATH_MAX is also defiend in scripts/mkdep.c, to get around it i just put

#ifndef PATH_MAX
# define PATH_MAX 255
#endif

where needed, it isnt a good solution (i know GNU/Hurd doesnt like
arbitrary limits) but its a convenient one for now.


Glenn



More information about the busybox mailing list