[BusyBox] [PATCH] PATH_MAX undefined in [u]mount.c
Neal H Walfield
neal at cs.uml.edu
Sat Jan 26 18:53:04 UTC 2002
> I just added
>
> #ifndef PATH_MAX
> #define PATH_MAX 256
> #endif
>
> so howpefully that will be the end of that one... If the system
> one is missing from limits.h (for whatever reason) we will fall
> back on using 256...
I think that this is a hack: we are now hiding problems with badly
configured tool chains and are required to call pathconf() if PATH_MAX
is not defined.
More information about the busybox
mailing list