[interchange-cvs] interchange - jon modified lib/Vend/SessionFile.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Thu Jun 19 14:19:01 2003
User: jon
Date: 2003-06-19 18:18:02 GMT
Modified: lib/Vend SessionFile.pm
Log:
Fix NFS locking. Thanks to Bill Carr for reporting.
Revision Changes Path
2.3 +4 -4 interchange/lib/Vend/SessionFile.pm
rev 2.3, prev_rev 2.2
Index: SessionFile.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/SessionFile.pm,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -u -r2.2 -r2.3
--- SessionFile.pm 18 Jun 2003 17:34:44 -0000 2.2
+++ SessionFile.pm 19 Jun 2003 18:18:02 -0000 2.3
@@ -1,6 +1,6 @@
# Vend::SessionFile - Stores Interchange session information in files
#
-# $Id: SessionFile.pm,v 2.2 2003/06/18 17:34:44 jon Exp $
+# $Id: SessionFile.pm,v 2.3 2003/06/19 18:18:02 jon Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -29,7 +29,7 @@
use Vend::Util;
use vars qw($VERSION);
-$VERSION = substr(q$Revision: 2.2 $, 10);
+$VERSION = substr(q$Revision: 2.3 $, 10);
my $SessionDir;
my $CommDir;
@@ -49,8 +49,8 @@
$SessionDir = $dir;
%HaveLock = ();
if($nfs) {
- *lockfile = \*Vend::Util::fcntl_lock;
- *unlockfile = \*Vend::Util::fcntl_unlock;
+ *lockfile = \*Vend::File::fcntl_lock;
+ *unlockfile = \*Vend::File::fcntl_unlock;
}
bless {}, $self;
}