stephan: devel/kolab/Kolab Conf.pm,1.2,1.3 Util.pm,1.1.1.1,1.2

cvs at intevation.de cvs at intevation.de
Tue May 11 17:09:32 CEST 2004


Author: stephan

Update of /kolabrepository/devel/kolab/Kolab
In directory doto:/tmp/cvs-serv25142

Modified Files:
	Conf.pm Util.pm 
Log Message:
Conf.pm: Fix slight regression with conf file permissions
Util.pm: timelocal() depends on Time::Local 


Index: Conf.pm
===================================================================
RCS file: /kolabrepository/devel/kolab/Kolab/Conf.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Conf.pm	11 May 2004 10:05:04 -0000	1.2
+++ Conf.pm	11 May 2004 15:09:29 -0000	1.3
@@ -132,7 +132,7 @@
         exit(1);
       }
     } else {
-      if (!($NEWFILE = IO::File->new($tmpfile, O_RDWR|O_CREAT|O_EXCL, 0640))) {
+      if (!($NEWFILE = IO::File->new($tmpfile, O_RDWR|O_CREAT|O_EXCL, 0644))) {
         Kolab::log('T', "Unable to open configuration file `$tmpfile'", KOLAB_ERROR);
         exit(1);
       }

Index: Util.pm
===================================================================
RCS file: /kolabrepository/devel/kolab/Kolab/Util.pm,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Util.pm	3 May 2004 14:04:04 -0000	1.1.1.1
+++ Util.pm	11 May 2004 15:09:29 -0000	1.2
@@ -23,6 +23,7 @@
 use strict;
 use warnings;
 use IO::File;
+use Time::Local;
 
 require Exporter;
 





More information about the commits mailing list