Comment on attachment 297358 Patch from Martin Stransky
>diff -up mozilla/nsprpub/config/pathsub.h.old mozilla/nsprpub/config/pathsub.h >--- mozilla/nsprpub/config/pathsub.h.old 2004-04-25 17:00:34.000000000 +0200 >+++ mozilla/nsprpub/config/pathsub.h 2007-09-25 18:57:51.000000000 +0200 >@@ -50,7 +50,7 @@ > #endif > > #ifndef PATH_MAX >-#define PATH_MAX 1024 >+#error "PATH_MAX is not defined!" > #endif
Is PATH_MAX available on all platforms we need to support (thinking about NSPR and NSS)? So is it safe to remove that default?
Comment on attachment 297358
Patch from Martin Stransky
>diff -up mozilla/ nsprpub/ config/ pathsub. h.old mozilla/ nsprpub/ config/ pathsub. h nsprpub/ config/ pathsub. h.old 2004-04-25 17:00:34.000000000 +0200 nsprpub/ config/ pathsub. h 2007-09-25 18:57:51.000000000 +0200
>--- mozilla/
>+++ mozilla/
>@@ -50,7 +50,7 @@
> #endif
>
> #ifndef PATH_MAX
>-#define PATH_MAX 1024
>+#error "PATH_MAX is not defined!"
> #endif
Is PATH_MAX available on all platforms we need to support (thinking about NSPR and NSS)?
So is it safe to remove that default?