[BusyBox] [PATCH] PATH_MAX undefined in [u]mount.c
Erik Andersen
andersen at codepoet.org
Sat Jan 26 17:53:03 UTC 2002
On Sat Jan 26, 2002 at 04:36:48PM -0800, Dan Kegel wrote:
>
> Ah, yes, I should have read more carefully.
>
> Practically speaking, though, most new os's define PATH_MAX in limits.h,
> but my patch was to work around a screwed-up installation of gcc.
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...
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list