[interchange-cvs] interchange - jon modified lib/Vend/File.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Dec 3 12:04:26 EST 2003


User:      jon
Date:      2003-12-03 17:04:26 GMT
Modified:  lib/Vend File.pm
Log:
Make error message more specific.

Revision  Changes    Path
2.14      +3 -3      interchange/lib/Vend/File.pm


rev 2.14, prev_rev 2.13
Index: File.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/File.pm,v
retrieving revision 2.13
retrieving revision 2.14
diff -u -u -r2.13 -r2.14
--- File.pm	24 Nov 2003 21:09:00 -0000	2.13
+++ File.pm	3 Dec 2003 17:04:26 -0000	2.14
@@ -1,6 +1,6 @@
 # Vend::File - Interchange file functions
 #
-# $Id: File.pm,v 2.13 2003/11/24 21:09:00 racke Exp $
+# $Id: File.pm,v 2.14 2003/12/03 17:04:26 jon Exp $
 # 
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -53,7 +53,7 @@
 use Vend::Util;
 use subs qw(logError logGlobal);
 use vars qw($VERSION @EXPORT @EXPORT_OK $errstr);
-$VERSION = substr(q$Revision: 2.13 $, 10);
+$VERSION = substr(q$Revision: 2.14 $, 10);
 
 sub writefile {
     my($file, $data, $opt) = @_;
@@ -280,7 +280,7 @@
                 return 0;
             }
             else {
-                die "Could not lock file: $!\n";
+                die "Could not fcntl_lock file: $!\n";
             }
         }
         return 1;








More information about the interchange-cvs mailing list