Author: jamessan
Date: 2009-02-21 14:36:00 +0000 (Sat, 21 Feb 2009)
New Revision: 1824

Modified:
   trunk/debian/changelog
   trunk/scripts/debchange.pl
Log:
debchange: Do not use an empty gecos field when trying to determine the 
maintainer's name. (Closes: 516423)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-02-19 14:34:04 UTC (rev 1823)
+++ trunk/debian/changelog      2009-02-21 14:36:00 UTC (rev 1824)
@@ -10,6 +10,8 @@
   * bts: Include the module name when calling MIME::Base64::encode_base64
     since MIME::Base64 is only being 'require'd not 'use'd.  Thanks Євгеній
     Мещеряков. (Closes: #516117)
+  * debchange: Do not use an empty gecos field when trying to determine the
+    maintainer's name. (Closes: 516423)
 
  -- Adam D. Barratt <[email protected]>  Thu, 12 Feb 2009 20:23:12 +0000
 

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2009-02-19 14:34:04 UTC (rev 1823)
+++ trunk/scripts/debchange.pl  2009-02-21 14:36:00 UTC (rev 1824)
@@ -655,7 +655,7 @@
        $MAINTAINER = $env{'NAME'};
     } else {
        my @pw = getpwuid $<;
-       if (defined($pw[6])) {
+       if ($pw[6]) {
            if (my $pw = decode_utf8($pw[6])) {
                $pw =~ s/,.*//;
                $MAINTAINER = $pw;



-- 
To unsubscribe, send mail to [email protected].

Reply via email to