echo skip vfsck for ${SYS_NAME} ;; \
rs_aix42) \
echo skip vfsck for ${SYS_NAME} ;; \
- sun4x_55 ) \
- echo skip vfsck for ${SYS_NAME} ;; \
- sun4x_56 ) \
- echo skip vfsck for ${SYS_NAME} ;; \
- sun4x_57 ) \
- echo skip vfsck for ${SYS_NAME} ;; \
sun4x_58 ) \
echo skip vfsck for ${SYS_NAME} ;; \
* ) \
#include <arpa/inet.h>
#define FREAD 0x0001
#endif /* AFS_USR_LINUX22_ENV */
-/*glibc 2.1 does not implement pthread_attr_setstacksize but 2.2 does*/
-#if (defined(AFS_LINUX22_ENV) || defined(AFS_USR_LINUX22_ENV)) \
-&& (__GLIBC_MINOR__ < 2)
+
+/* glibc 2.2 has pthread_attr_setstacksize */
+#if defined(AFS_LINUX22_ENV) || defined(AFS_USR_LINUX22_ENV) && (__GLIBC_MINOR__ < 2)
#define pthread_attr_setstacksize(a,b) 0
#endif
echo " No UTS_RELEASE string found in $header."
continue
elif [ "$VERS" != "$vers" ] ; then
- echo "ERROR: Cannot build $VERS. Wrong version '('$vers')' in $header."
+# Redhat kernel source has the problem that they create one version.h for
+# all their builds; So, we have to be creative here.
+# echo "ERROR: Cannot build $VERS. Wrong version '('$vers')' in $header."
+# errors=true
+# continue
errors=true
- continue
+ for subvers in $vers ; do
+ if [ "x$subvers" = "x$VERS" ] ; then
+ errors=false
+ continue
+ fi
+ done
fi
CAN_BUILD="$CAN_BUILD $VERS"
found_one="true"
* cases, and also between machines apparently running the same OS
* version.
*/
-#define AFS_LWP_MINSTACKSIZE (180 * 1024)
+#if defined(AFS_LINUX22_ENV)
+#define AFS_LWP_MINSTACKSIZE (192 * 1024)
+#else
+#define AFS_LWP_MINSTACKSIZE (48 * 1024)
+#endif
/* Action to take on stack overflow. */
#define LWP_SOQUIET 1 /* do nothing */
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <stdio.h>
+#include <stdlib.h> /* for malloc() */
+#include <string.h>
+
#ifdef __linux__
#define _CFS_HEADER_
#define _AFFS_FS_I
#include <afs/param.h>
-#include <stdio.h>
-#include <stdlib.h> /* for malloc() */
-#include <string.h>
-
/*
* Need to include <netdb.h> before _KERNEL is defined since on IRIX 6.5
* <netdb.h> includes <netinet/in.h>, which in turn declares inet_addr()