[Pkg-openldap-devel] [openldap] 05/17: ok, that last fix_ldif change was crack-addled in the extreme. Let's just pretend it never happened, use this one instead, and claim that I always test my code before committing it, mmkay?

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:35:58 UTC 2013


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to annotated tag 2.2.23-5
in repository openldap.

commit 83c706b33fb0a0610de98daff2fac2cf29b85e58
Author: Steve Langasek <vorlon at debian.org>
Date:   Fri Apr 22 09:48:21 2005 +0000

    ok, that last fix_ldif change was crack-addled in the extreme.  Let's
    just pretend it never happened, use this one instead, and claim that I
    always test my code before committing it, mmkay?
---
 debian/fix_ldif |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/fix_ldif b/debian/fix_ldif
index 68eeb51..54c49f3 100644
--- a/debian/fix_ldif
+++ b/debian/fix_ldif
@@ -394,8 +394,8 @@ sub checkattrs
 	}
     }
     foreach my $attr (@integer) {
-	${$entries{$dn}{$attr}}[0] = 0)
-	    if (${$entries{$dn}{$attr}}[0] =~ /^0+/);
+	$entries{$dn}{lc $attr}[0] = 0
+	    if ($entries{$dn}{lc $attr} && $entries{$dn}{lc $attr}[0] =~ /^0+$/);
     }
 }
 
@@ -550,7 +550,7 @@ sub INIT
 	'ipServiceProtocol',
 	'ipProtocolNumber',
 	'oncRpcNumber',
-    };
+    );
 
     #
     # Random stuff.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list