]> git.proxmox.com Git - pve-access-control.git/commitdiff
use warnings instead of global -w flag
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Oct 2013 11:03:43 +0000 (13:03 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Oct 2013 11:04:53 +0000 (13:04 +0200)
Makefile
PVE/AccessControl.pm
PVE/Auth/LDAP.pm
PVE/Auth/PAM.pm
PVE/Auth/PVE.pm
changelog.Debian
pveum

index 8493f8742f19269e4352aefa8ac4d18187759ed7..63d406e819a84be4103ee2d186a0a0f85b3e658b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-RELEASE=3.0
+RELEASE=3.1
 
 VERSION=3.0
 PACKAGE=libpve-access-control
index f0c37c7651a6eda6d51ced1bda18022d9ff63068..bb109e38a660af2bb088861f275ccca25fd481bf 100644 (file)
@@ -1,6 +1,7 @@
 package PVE::AccessControl;
 
 use strict;
+use warnings;
 use Encode;
 use Crypt::OpenSSL::Random;
 use Crypt::OpenSSL::RSA;
index dc1c229775e32ea3458e4d34c9aa5b2c8f732017..a423ee7881a25475135570627cfd226315bc1990 100755 (executable)
@@ -1,6 +1,8 @@
 package PVE::Auth::LDAP;
 
 use strict;
+use warnings;
+
 use PVE::Auth::Plugin;
 use Net::LDAP;
 use base qw(PVE::Auth::Plugin);
index 93768053d80acb5bf0a8965b8bc6ef00190ae5c1..04f0d93b808cc1e61ba2cc29b12e0c5950bc2b66 100755 (executable)
@@ -1,6 +1,8 @@
 package PVE::Auth::PAM;
 
 use strict;
+use warnings;
+
 use PVE::Tools qw(run_command);
 use PVE::Auth::Plugin;
 use Authen::PAM qw(:constants);
index 7f771fafde56c74e4241ce73f99dcdd1e5177f0f..5f60cf36c134931b73e7981559d37125bdd5290b 100755 (executable)
@@ -1,6 +1,8 @@
 package PVE::Auth::PVE;
 
 use strict;
+use warnings;
+
 use PVE::Auth::Plugin;
 use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_write_file cfs_lock_file);
 
index ce8ea4dbf0ede05188a6ed87b989fa552508b270..867e22bdd66027f3fc27c5d7a1dfa1be829df306 100644 (file)
@@ -2,6 +2,8 @@ libpve-access-control (3.0-7) unstable; urgency=low
 
   * check_volume_access : use parse_volname instead of path, and remove 
     path related code.
+  
+  * use warnings instead of global -w flag.
 
  -- Proxmox Support Team <support@proxmox.com>  Tue, 01 Oct 2013 12:35:53 +0200
 
diff --git a/pveum b/pveum
index 7c69688c85f95ce88d317b44beec3cd489742eac..55ad1f4f67124f623fd2034f929e286f7f5d37e2 100755 (executable)
--- a/pveum
+++ b/pveum
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w 
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 use Getopt::Long;
 use PVE::Tools qw(run_command);
 use PVE::Cluster;