will sort correctly).
PACKAGE=openafs
-VERSION=1.4.0-rc1
+VERSION=1.4.0-rc3
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
PACKAGE=openafs-libafs
-VERSION=1.4.0-rc1
+VERSION=1.4.0-rc3
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
AC_INIT(src/libafs/Makefile.common.in)
-AM_INIT_AUTOMAKE(openafs-libafs,1.4.0-rc1)
+AM_INIT_AUTOMAKE(openafs-libafs,1.4.0-rc3)
AC_CONFIG_HEADER(src/config/afsconfig.h)
define(OPENAFS_CONFIGURE_LIBAFS)
AC_INIT(src/config/stds.h)
-AM_INIT_AUTOMAKE(openafs,1.4.0-rc1)
+AM_INIT_AUTOMAKE(openafs,1.4.0-rc3)
AC_CONFIG_HEADER(src/config/afsconfig.h)
AC_PROG_CC
+openafs (1.4rc3-1) unstable; urgency=low
+
+ * New upstream version.
+
+ --
+
openafs (1.4rc1-1) unstable; urgency=low
* New upstream version.
# These variable is used only by get-orig-source, which will normally only be
# run by maintainers.
-VERSION = 1.4.0-rc1
+VERSION = 1.4.0-rc3
UPSTREAM = /afs/grand.central.org/software/openafs/candidate/$(VERSION)
# Download the upstream source and do the repackaging that we have to do for
#include "afs/param.h"
RCSID
- ("$Header: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v 1.81.2.35 2005/08/19 15:33:28 shadow Exp $");
+ ("$Header: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v 1.81.2.36 2005/09/04 04:11:55 shadow Exp $");
#include "afs/sysincludes.h"
#include "afsincludes.h"
#endif
AFS_GLOCK();
+#ifdef notyet
/* Make this a fast path (no crref), since it's called so often. */
if (vcp->states & CStatd) {
#endif
return 0;
}
+#endif
credp = crref();
code = afs_getattr(vcp, &vattr, credp);
#define used in WinNT/2000 installation and program version display
AFSPRODUCT_VER_MAJOR=1
AFSPRODUCT_VER_MINOR=4
-AFSPRODUCT_VER_PATCH=0000
+AFSPRODUCT_VER_PATCH=0002
AFSPRODUCT_VER_BUILD=0
# For MSI installer, each major release should have a different GUID
!ENDIF
!ENDIF
+!IF ("$(AFSIFS)" == "TRUE")
+afscdefs = $(afscdefs) -DAFSIFS
+!ENDIF
+
!IF ("$(AFSDEV_BUILDTYPE)" == "FREE")
afscflags = $(afscflags) /Ox /Zi
cdebug = $(cdebug:-Z7=-Zi) # avoid annoying override warning (D4025)
!IF ("$(AFSVER_CL)"=="1200")
-afscdefs = $(afscdefs) -DDEBUG
-afscflags = $(afscflags) /GZ
+afscdefs = $(afscdefs) -DDEBUG /GZ
!ELSE
-afscdefs = $(afscdefs) -DDEBUG
-afscflags = $(afscflags) /RTCs /RTCu
+afscdefs = $(afscdefs) -DDEBUG /RTCs /RTCu
!ENDIF
!IFDEF _CRTDBG_MAP_ALLOC
#define used in WinNT/2000 installation and program version display
AFSPRODUCT_VER_MAJOR=1
AFSPRODUCT_VER_MINOR=4
-AFSPRODUCT_VER_PATCH=0000
+AFSPRODUCT_VER_PATCH=0002
AFSPRODUCT_VER_BUILD=0
# For MSI installer, each major release should have a different GUID
!ENDIF
!IF ("$(AFSVER_CL)"!="1200")
-afscflags = $(afscflags) /GT /GS
+afscdefs = $(afscdefs) /GT /GS
#/Wp64
!IF ("$(AFSVER_CL)"!="1400")
-afscflags = $(afscflags) /G7
+afscdefs = $(afscdefs) /G7
!ENDIF
!ENDIF
+!IF ("$(AFSIFS)" == "TRUE")
+afscdefs = $(afscdefs) -DAFSIFS
+!ENDIF
+
!IF ("$(AFSDEV_BUILDTYPE)" == "FREE")
afscflags = $(afscflags) /Ox /Zi
cdebug = $(cdebug:-Z7=-Zi) # avoid annoying override warning (D4025)
!IF ("$(AFSVER_CL)"=="1200")
-afscdefs = $(afscdefs) -DDEBUG
+afscdefs = $(afscdefs) -DDEBUG
afscflags = $(afscflags) /GZ
!ELSE
-afscdefs = $(afscdefs) -DDEBUG
+afscdefs = $(afscdefs) -DDEBUG
afscflags = $(afscflags) /RTCs /RTCu
!ENDIF
!IFDEF _CRTDBG_MAP_ALLOC
-afscflags = $(afscflags) -D_DEBUG -D_CRTDBG_MAP_ALLOC
+afscdefs = $(afscdefs) -D_DEBUG -D_CRTDBG_MAP_ALLOC
!ENDIF
!UNDEF NODEBUG
afscflags = $(afscflags) /W$(AFSDEV_WARNLEVEL)
# C/C++ compilation macros
-C2OBJ = $(cc) /Fo$@ /Fd$*.pdb $(cflags) $(cdebug) $(cvarsdll) $(afscflags) $(afscdefs) /c
+C2OBJ = $(cc) /Fo$@ /Fd$*.pdb $(cflags) $(cdebug) $(dafsifs) $(cvarsdll) $(afscflags) $(afscdefs) /c
CPP2OBJ = $(C2OBJ)
# Inference rules for building and installing targets
# Compile .c files, from current directory to defined by OUT
LIB = $(AFSDEV_LIB)
#define used in WinNT/2000 installation and program version display
-AFSPRODUCT_VER_MAJOR=1
AFSPRODUCT_VER_MINOR=4
-AFSPRODUCT_VER_PATCH=0000
+AFSPRODUCT_VER_PATCH=0002
AFSPRODUCT_VER_BUILD=0
# For MSI installer, each major release should have a different GUID
!ENDIF
!ENDIF
+!IF ("$(AFSIFS)" == "TRUE")
+afscdefs = $(afscdefs) -DAFSIFS
+!ENDIF
+
!IF ("$(AFSDEV_BUILDTYPE)" == "FREE")
afscflags = $(afscflags) /Ox /Zi
cdebug = $(cdebug:-Z7=-Zi) # avoid annoying override warning (D4025)
!IF ("$(AFSVER_CL)"=="1200")
-afscdefs = $(afscdefs) -DDEBUG
-afscflags = $(afscflags) /GZ
+afscdefs = $(afscdefs) -DDEBUG /GZ
!ELSE
-afscdefs = $(afscdefs) -DDEBUG
-afscflags = $(afscflags) /RTCs /RTCu
+afscdefs = $(afscdefs) -DDEBUG /RTCs /RTCu
!ENDIF
!IFDEF _CRTDBG_MAP_ALLOC
!ENDIF
#define used in Win9x installation and program version display
-AFSPRODUCT_VERSION=1.3.60
+AFSPRODUCT_VERSION=0.0.00
CELLNAME_DEFAULT=Your Cell Name
CELLSERVDB_INSTALL=CellServDB.GrandCentral
CELLSERVDB_WEB=http://grand.central.org/dl/cellservdb/CellServDB
#endif
RCSID
- ("$Header: /cvs/openafs/src/rx/rx.c,v 1.58.2.20 2005/05/30 04:57:36 shadow Exp $");
+ ("$Header: /cvs/openafs/src/rx/rx.c,v 1.58.2.22 2005/09/02 22:50:59 shadow Exp $");
#ifdef KERNEL
#include "afs/sysincludes.h"
/* Client is initially in send mode */
call->state = RX_STATE_ACTIVE;
- call->mode = RX_MODE_SENDING;
-
+ call->error = conn->error;
+ if (call->error)
+ call->mode = RX_MODE_ERROR;
+ else
+ call->mode = RX_MODE_SENDING;
+
/* remember start time for call in case we have hard dead time limit */
call->queueTime = queueTime;
clock_GetTime(&call->startTime);
clock_GetTime(&call->queueTime);
hzero(call->bytesSent);
hzero(call->bytesRcvd);
+ /*
+ * If the number of queued calls exceeds the overload
+ * threshold then abort this call.
+ */
+ if ((rx_BusyThreshold > 0) && (rx_nWaiting > rx_BusyThreshold)) {
+ struct rx_packet *tp;
+
+ rxi_CallError(call, rx_BusyError);
+ tp = rxi_SendCallAbort(call, np, 1, 0);
+ MUTEX_EXIT(&call->lock);
+ MUTEX_ENTER(&conn->conn_data_lock);
+ conn->refCount--;
+ MUTEX_EXIT(&conn->conn_data_lock);
+ MUTEX_ENTER(&rx_stats_mutex);
+ rx_stats.nBusies++;
+ MUTEX_EXIT(&rx_stats_mutex);
+ return tp;
+ }
rxi_KeepAliveOn(call);
} else if (np->header.callNumber != currentCallNumber) {
/* Wait until the transmit queue is idle before deciding
DES = ../des
COMERR = ../comerr
UTIL = ../util
-SYS = ../sys
-LWP = ../lwp
+SYS = ${srcdir}/../sys
+LWP = ${srcdir}/../lwp
SYSOBJS =\
syscall.o
#
# $ what /opt/langtools/bin/pxdb32
# /opt/langtools/bin/pxdb32:
-# HP92453-02 A.10.0A HP-UX SYMBOLIC DEBUGGER (PXDB) $Revision: 1.15.2.4 $
+# HP92453-02 A.10.0A HP-UX SYMBOLIC DEBUGGER (PXDB) $Revision: 1.15.2.5 $
#
# The problem occurs when -g and -O are both used when compiling des.c.
# The simplest way to work around the problem is to leave out either -g or -O.
#include <afs/param.h>
RCSID
- ("$Header: /cvs/openafs/src/sys/pioctl_nt.c,v 1.18.2.10 2005/04/29 19:57:19 jaltman Exp $");
+ ("$Header: /cvs/openafs/src/sys/pioctl_nt.c,v 1.18.2.11 2005/09/02 17:28:36 jaltman Exp $");
#include <afs/stds.h>
#include <windows.h>
tbuffer[1] = ':';
strcpy(tbuffer + 2, SMB_IOCTL_FILENAME);
} else if (fileNamep[0] == fileNamep[1] &&
- fileNamep[0] == '\\')
+ (fileNamep[0] == '\\' || fileNamep[0] == '/'))
{
int count = 0, i = 0;
while (count < 4 && fileNamep[i]) {
tbuffer[i] = fileNamep[i];
- if ( tbuffer[i++] == '\\' )
+ if ( tbuffer[i] == '\\' ||
+ tbuffer[i] == '/')
count++;
+ i++;
}
if (fileNamep[i] == 0)
tbuffer[i++] = '\\';
tbuffer[1] = ':';
strcpy(tbuffer + 2, SMB_IOCTL_FILENAME);
} else if (curdir[0] == curdir[1] &&
- curdir[0] == '\\')
+ (curdir[0] == '\\' || curdir[0] == '/'))
{
int count = 0, i = 0;
while (count < 4 && curdir[i]) {
tbuffer[i] = curdir[i];
- if ( tbuffer[i++] == '\\' )
- count++;
+ if ( tbuffer[i] == '\\' ||
+ tbuffer[i] == '/')
+ count++;
+ i++;
}
if (tbuffer[i] == 0)
tbuffer[i++] = '\\';
int pathHasDrive;
int doSwitch;
char newPath[3];
+ char *p;
if (pathp[0] != 0 && pathp[1] == ':') {
/* there's a drive letter there */
pathHasDrive = 0;
}
- if ( firstp[0] == '\\' && firstp[1] == '\\') {
+ if ( firstp[0] == '\\' && firstp[1] == '\\' ||
+ firstp[0] == '/' && firstp[1] == '/') {
/* UNC path - strip off the server and sharename */
int i, count;
for ( i=2,count=2; count < 4 && firstp[i]; i++ ) {
} else {
strcpy(outPathp,&firstp[--i]);
}
+ for (p=outPathp ;*p; p++) {
+ if (*p == '/')
+ *p = '\\';
+ }
return 0;
} else if (firstp[0] == '\\' || firstp[0] == '/') {
/* already an absolute pathname, just copy it back */
strcpy(outPathp, firstp);
+ for (p=outPathp ;*p; p++) {
+ if (*p == '/')
+ *p = '\\';
+ }
return 0;
}
GetCurrentDirectory(sizeof(tpath), tpath);
if (tpath[1] == ':')
strcpy(outPathp, tpath + 2); /* skip drive letter */
- else if ( tpath[0] == '\\' && tpath[1] == '\\') {
+ else if ( tpath[0] == '\\' && tpath[1] == '\\'||
+ tpath[0] == '/' && tpath[1] == '/') {
/* UNC path - strip off the server and sharename */
int i, count;
for ( i=2,count=2; count < 4 && tpath[i]; i++ ) {
SetCurrentDirectory(origPath);
}
+ for (p=outPathp ;*p; p++) {
+ if (*p == '/')
+ *p = '\\';
+ }
return 0;
}
#include <afs/param.h>
RCSID
- ("$Header: /cvs/openafs/src/volser/volprocs.c,v 1.34.2.3 2004/12/13 19:41:13 shadow Exp $");
+ ("$Header: /cvs/openafs/src/volser/volprocs.c,v 1.34.2.4 2005/08/31 22:14:59 shadow Exp $");
#include <stdio.h>
#include <sys/types.h>
code = VolSetIdsTypes(acid, atid, name, type, pId, cloneId, backupId);
osi_auditU(acid, VS_SetIdTyEvent, code, AUD_LONG, atid, AUD_STR, name,
- AUD_STR, type, AUD_LONG, pId, AUD_LONG, cloneId, AUD_LONG,
+ AUD_LONG, type, AUD_LONG, pId, AUD_LONG, cloneId, AUD_LONG,
backupId, AUD_END);
return code;
}