r1264 - in packages/libterm-readkey-perl/trunk: . debian

Gunnar Wolf gwolf at costa.debian.org
Sat Jul 16 20:21:24 UTC 2005


Author: gwolf
Date: 2005-07-16 20:21:23 +0000 (Sat, 16 Jul 2005)
New Revision: 1264

Modified:
   packages/libterm-readkey-perl/trunk/ReadKey.pm
   packages/libterm-readkey-perl/trunk/debian/changelog
Log:
Bugfix


Modified: packages/libterm-readkey-perl/trunk/ReadKey.pm
===================================================================
--- packages/libterm-readkey-perl/trunk/ReadKey.pm	2005-07-16 20:10:03 UTC (rev 1263)
+++ packages/libterm-readkey-perl/trunk/ReadKey.pm	2005-07-16 20:21:23 UTC (rev 1264)
@@ -357,10 +357,11 @@
         push( @fail, "resize program" );
     }
 
-    if ( @results < 4 )
+    if ( @results != 4 )
     {
-        die "Unable to get Terminal Size."
+        warn "Unable to get Terminal Size."
           . join( "", map( " The $_ didn't work.", @fail ) );
+	return undef;
     }
 
     @results;

Modified: packages/libterm-readkey-perl/trunk/debian/changelog
===================================================================
--- packages/libterm-readkey-perl/trunk/debian/changelog	2005-07-16 20:10:03 UTC (rev 1263)
+++ packages/libterm-readkey-perl/trunk/debian/changelog	2005-07-16 20:21:23 UTC (rev 1264)
@@ -1,3 +1,10 @@
+libterm-readkey-perl (2.30-2) unstable; urgency=low
+
+  * Modified the GetTerminalSize function to match its documented
+    description
+
+ -- Gunnar Wolf <gwolf at debian.org>  Sat, 16 Jul 2005 23:17:21 +0300
+
 libterm-readkey-perl (2.30-1) unstable; urgency=low
 
   * New upstream release (Closes: #303584)




More information about the Pkg-perl-cvs-commits mailing list