From b06c35909060e644f170b3210e7934803e74aae4 Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Sun, 18 Apr 2004 07:10:33 +0000 Subject: [PATCH] more-uafs-support-20040417 Some more minor uafs fixes --- src/libuafs/MakefileProto.AIX.in | 2 +- src/libuafs/MakefileProto.DARWIN.in | 2 +- src/libuafs/MakefileProto.DUX.in | 4 ++-- src/libuafs/MakefileProto.FBSD.in | 2 +- src/libuafs/MakefileProto.HPUX.in | 2 +- src/libuafs/MakefileProto.IRIX.in | 2 +- src/libuafs/MakefileProto.LINUX.in | 2 +- src/libuafs/MakefileProto.NBSD.in | 2 +- src/libuafs/MakefileProto.OBSD.in | 2 +- src/libuafs/MakefileProto.SOLARIS.in | 2 +- src/rx/UKERNEL/rx_knet.c | 4 ++-- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/libuafs/MakefileProto.AIX.in b/src/libuafs/MakefileProto.AIX.in index 86e81e533..993c05645 100644 --- a/src/libuafs/MakefileProto.AIX.in +++ b/src/libuafs/MakefileProto.AIX.in @@ -12,7 +12,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config # System specific build commands and flags DEFINES= -DKERNEL -DUKERNEL -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} AR = /usr/bin/ar ARFLAGS = -r RANLIB = /bin/ranlib diff --git a/src/libuafs/MakefileProto.DARWIN.in b/src/libuafs/MakefileProto.DARWIN.in index ef58adaf5..5f79c1fb6 100644 --- a/src/libuafs/MakefileProto.DARWIN.in +++ b/src/libuafs/MakefileProto.DARWIN.in @@ -13,7 +13,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config CC = cc DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL KOPTS= -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} $(XCFLAGS) +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} $(XCFLAGS) OPTF=-O # WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD diff --git a/src/libuafs/MakefileProto.DUX.in b/src/libuafs/MakefileProto.DUX.in index ddf0aec34..9336c351e 100644 --- a/src/libuafs/MakefileProto.DUX.in +++ b/src/libuafs/MakefileProto.DUX.in @@ -11,9 +11,9 @@ include @TOP_OBJDIR@/src/config/Makefile.config # System specific build commands and flags DEFINES=-DKERNEL -DUKERNEL -D_NO_PROTO -DOSF KOPTS= -DBUG= +DBG= OPTF=-O -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} -pthread +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} -pthread WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD TEST_CFLAGS=-pthread -D_NO_PROTO -D_REENTRANT -DAFS_PTHREAD_ENV -Dosf -DAFS_OSF_ENV -DOSF diff --git a/src/libuafs/MakefileProto.FBSD.in b/src/libuafs/MakefileProto.FBSD.in index 55e90ddca..91d36eeee 100644 --- a/src/libuafs/MakefileProto.FBSD.in +++ b/src/libuafs/MakefileProto.FBSD.in @@ -13,7 +13,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config CC = @CC@ DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL KOPTS= -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O # WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD diff --git a/src/libuafs/MakefileProto.HPUX.in b/src/libuafs/MakefileProto.HPUX.in index 6666c278d..00cde7280 100644 --- a/src/libuafs/MakefileProto.HPUX.in +++ b/src/libuafs/MakefileProto.HPUX.in @@ -16,7 +16,7 @@ KOPTS=-Wp,-H200000 -Wl,-a,archive +DA1.0 +z KOPTS=-Wp,-H200000 -Wl,-a,archive_shared -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD diff --git a/src/libuafs/MakefileProto.IRIX.in b/src/libuafs/MakefileProto.IRIX.in index de5f3f9b3..2042a8854 100644 --- a/src/libuafs/MakefileProto.IRIX.in +++ b/src/libuafs/MakefileProto.IRIX.in @@ -11,7 +11,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config # System specific build commands and flags CC = cc DEFINES=-D_SGI_MP_SOURCE -DKERNEL -DUKERNEL -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD diff --git a/src/libuafs/MakefileProto.LINUX.in b/src/libuafs/MakefileProto.LINUX.in index 0c556e671..c1a998cbb 100644 --- a/src/libuafs/MakefileProto.LINUX.in +++ b/src/libuafs/MakefileProto.LINUX.in @@ -17,7 +17,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config # System specific build commands and flags DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL KOPTS= -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O # WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD diff --git a/src/libuafs/MakefileProto.NBSD.in b/src/libuafs/MakefileProto.NBSD.in index c1a085b45..66f53e059 100644 --- a/src/libuafs/MakefileProto.NBSD.in +++ b/src/libuafs/MakefileProto.NBSD.in @@ -13,7 +13,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config CC = gcc DEFINES= -DKERNEL -DUKERNEL KOPTS= -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O TEST_CFLAGS= -DAFS_NBSD_ENV diff --git a/src/libuafs/MakefileProto.OBSD.in b/src/libuafs/MakefileProto.OBSD.in index 200d829b3..c1b705810 100644 --- a/src/libuafs/MakefileProto.OBSD.in +++ b/src/libuafs/MakefileProto.OBSD.in @@ -13,7 +13,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config CC = gcc DEFINES= -DKERNEL -DUKERNEL KOPTS= -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O TEST_CFLAGS= -DAFS_OBSD_ENV diff --git a/src/libuafs/MakefileProto.SOLARIS.in b/src/libuafs/MakefileProto.SOLARIS.in index 14000a569..a87d65b06 100644 --- a/src/libuafs/MakefileProto.SOLARIS.in +++ b/src/libuafs/MakefileProto.SOLARIS.in @@ -10,7 +10,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config # System specific build commands and flags DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL -CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG} +CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBG} OPTF=-O WEBOPTS = -KPIC -I../nsapi -DNETSCAPE_NSAPI -DSOLARIS -DNET_SSL -DXP_UNIX -DMCC_HTTPD diff --git a/src/rx/UKERNEL/rx_knet.c b/src/rx/UKERNEL/rx_knet.c index 3928ad0f6..bf00f864b 100644 --- a/src/rx/UKERNEL/rx_knet.c +++ b/src/rx/UKERNEL/rx_knet.c @@ -228,7 +228,7 @@ rxk_InitializeSocket(void) optlen = sizeof(optval); rc = getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (void *)&optval, &optlen); usr_assert(rc == 0); - usr_assert(optval == optval0); + /* usr_assert(optval == optval0); */ #ifdef AFS_USR_LINUX22_ENV optval0 = 131070; #else @@ -241,7 +241,7 @@ rxk_InitializeSocket(void) optlen = sizeof(optval); rc = getsockopt(sock, SOL_SOCKET, SO_RCVBUF, (void *)&optval, &optlen); usr_assert(rc == 0); - usr_assert(optval == optval0); + /* usr_assert(optval == optval0); */ #ifdef AFS_USR_AIX_ENV optval = 1; -- 2.39.5