Check-in Number:
|
2375 | |
Date: |
2002-Jul-26 15:21:31 (local)
2002-Jul-26 13:21:31 (UTC) |
User: | rse |
Branch: | |
Comment: |
Add support for IRIX 6.5 and other Unix flavors which have MAXPATHLEN in
<sys/param.h>
Submitted by: Joe Orton <jorton@redhat.com> |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/mm/ChangeLog 1.30 -> 1.31
--- ChangeLog 2002/07/26 13:06:30 1.30
+++ ChangeLog 2002/07/26 13:21:31 1.31
@@ -16,6 +16,10 @@
Changes between 1.1.3 and 1.2.0 (01-Jul-2000 to 26-Jul-2002)
+ *) Add support for IRIX 6.5 and other Unix flavors which have
+ MAXPATHLEN in <sys/param.h>
+ [Joe Orton <jorton@redhat.com>]
+
*) Fixed race condition in temporary file creation.
[Sebastian Krahmer, SuSE Security]
|
|
ossp-pkg/mm/configure.ac 1.2 -> 1.3
--- configure.ac 2002/07/26 13:10:32 1.2
+++ configure.ac 2002/07/26 13:21:31 1.3
@@ -66,9 +66,10 @@
AC_CHECK_FUNCS(memcpy memset bcopy)
AC_CHECK_DEFINE(_POSIX_PATH_MAX, limits.h)
AC_CHECK_DEFINE(PATH_MAX, limits.h)
-AC_CHECK_DEFINE(MAXPATHLEN, sys/param.h)
AC_CHECK_DEFINE(_POSIX_CHILD_MAX, limits.h)
AC_CHECK_DEFINE(CHILD_MAX, limits.h)
+AC_HAVE_HEADERS(sys/param.h)
+AC_CHECK_DEFINE(MAXPATHLEN, sys/param.h)
dnl # some special defines for brain dead platforms
case $PLATFORM in
|
|
ossp-pkg/mm/mm.h 1.24 -> 1.25
--- mm.h 2002/07/26 13:04:40 1.24
+++ mm.h 2002/07/26 13:21:31 1.25
@@ -80,6 +80,9 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#ifdef MM_OS_SUNOS
#include <memory.h>
|
|