]> git.donarmstrong.com Git - debhelper.git/commitdiff
r447: * Corrected some uninitialized value stuff in dh_suidregister (actually
authorjoey <joey>
Sat, 17 Feb 2001 03:45:51 +0000 (03:45 +0000)
committerjoey <joey>
Sat, 17 Feb 2001 03:45:51 +0000 (03:45 +0000)
     quite a bad bug).
   * dh_installman: fixed variable socoping error, so file conversions
     should work now.

debian/changelog
debian/control
dh_installman
dh_suidregister

index b9efd202d40eff51039267bd3dd699687a94f657..7a235fc9761b16aa4921292f5d7d2c3186a0da35 100644 (file)
@@ -1,3 +1,12 @@
+debhelper (3.0.6) unstable; urgency=low
+
+  * Corrected some uninitialized value stuff in dh_suidregister (actually
+    quite a bad bug).
+  * dh_installman: fixed variable socoping error, so file conversions
+    should work now.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 16 Feb 2001 14:15:02 -0800
+
 debhelper (3.0.5) unstable; urgency=low
 
   * Updated dh_perl to a new version for the new perl organization and
index b53ebc73e2346e56cf9bed782953a906b2a5cb66..eaef624d0de18709290efae55a5375f1d63a8854 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Joey Hess <joeyh@debian.org>
 Build-Depends-Indep: perl-5.6, fileutils (>= 4.0-2.1), file (>= 3.23-1)
-Standards-Version: 3.5.0.0
+Standards-Version: 3.5.1.0
 
 Package: debhelper
 Architecture: all
index b2a95baefa161be5a5f3c56310c20403e09463af..9c71774f5f06b714edcb1ee938547e3325ab9106 100755 (executable)
@@ -61,6 +61,9 @@ interface. Use this program instead.
 
 init();
 
+my @sofiles;
+my @sodests;
+
 foreach my $package (@{$dh{DOPACKAGES}}) {
        my $tmp=tmpdir($package);
        my $file=pkgfile($package,"manpages");
@@ -137,8 +140,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
 
        # Now the .so conversion.
-       my @sofiles;
-       my @sodests;
+       @sofiles=@sodests=();
        foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
                if (-e "$tmp/$dir") {
                        find(\&find_so_man, "$tmp/$dir");
@@ -152,8 +154,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 }
 
 # Check if a file is a .so man page, for use by File::Find.
-my @sofiles;
-my @sodests;
 sub find_so_man {
        # The -s test is becuase a .so file tends to be small. We don't want
        # to open every man page. 1024 is arbitrary.
index 19f29b18b85caaa672a7cb9a52adc146fed3110d..64c98b73a87cbdc001cbab478f9daa513c3aa9a5 100755 (executable)
@@ -56,7 +56,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                @files=split(/\n/,`find $tmp -type f -perm +6000`);
 
                # Strip the debian working directory off of the filenames.
-               $tostrip="tmp/";
+               $tostrip="$tmp/";
        }
        else {
                # We will strip leading /'s, so the user can feed this
@@ -73,7 +73,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                # Create the sed string that will be used to
                # fill in the blanks in the autoscript files.
                # Fill with the owner, group, and perms of the file.
-               my (undef,undef,$mode,undef,$uid,$gid,undef) = stat("$tmp/$file");
+               my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat("$tmp/$file");
                # Now come up with the user and group names for the uid and
                # gid.
                my $user=getpwuid($uid);