r1919 - in packages/libterm-readline-gnu-perl/trunk/debian: . patches

Niko Tyni ntyni-guest at costa.debian.org
Sun Jan 15 17:38:08 UTC 2006


Author: ntyni-guest
Date: 2006-01-15 17:38:08 +0000 (Sun, 15 Jan 2006)
New Revision: 1919

Added:
   packages/libterm-readline-gnu-perl/trunk/debian/patches/30outstream.dpatch
Modified:
   packages/libterm-readline-gnu-perl/trunk/debian/changelog
   packages/libterm-readline-gnu-perl/trunk/debian/patches/00list
Log:
Fix #236018: Debugger gets SIGSEGV in Term::Readline::Gnu after "|" command


Modified: packages/libterm-readline-gnu-perl/trunk/debian/changelog
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/changelog	2006-01-15 17:31:06 UTC (rev 1918)
+++ packages/libterm-readline-gnu-perl/trunk/debian/changelog	2006-01-15 17:38:08 UTC (rev 1919)
@@ -3,8 +3,11 @@
   * Fixed maintainer email address. (Closes: #343484)
   * Add myself to Uploaders.
   * Migrate to dpatch.
+  * debian/patches/30outstream.dpatch:
+    + make sure the ''rl_outstream' variable inside libreadline
+      is always in sync. (Closes: #236018)
 
- -- Niko Tyni <ntyni at iki.fi>  Sun, 15 Jan 2006 19:21:28 +0200
+ -- Niko Tyni <ntyni at iki.fi>  Sun, 15 Jan 2006 19:35:47 +0200
 
 libterm-readline-gnu-perl (1.15-2) unstable; urgency=low
 

Modified: packages/libterm-readline-gnu-perl/trunk/debian/patches/00list
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/patches/00list	2006-01-15 17:31:06 UTC (rev 1918)
+++ packages/libterm-readline-gnu-perl/trunk/debian/patches/00list	2006-01-15 17:38:08 UTC (rev 1919)
@@ -1,2 +1,3 @@
 10term.dpatch
 20new.dpatch
+30outstream.dpatch

Added: packages/libterm-readline-gnu-perl/trunk/debian/patches/30outstream.dpatch
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/patches/30outstream.dpatch	2006-01-15 17:31:06 UTC (rev 1918)
+++ packages/libterm-readline-gnu-perl/trunk/debian/patches/30outstream.dpatch	2006-01-15 17:38:08 UTC (rev 1919)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30outstream.dpatch by Niko Tyni <ntyni at iki.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix SIGSEGV after "|" command. (#236018)
+
+ at DPATCH@
+diff -urNad trunk~/Gnu.pm trunk/Gnu.pm
+--- trunk~/Gnu.pm	2006-01-15 19:34:52.835305578 +0200
++++ trunk/Gnu.pm	2006-01-15 19:34:57.369527534 +0200
+@@ -278,6 +278,10 @@
+     my $self = shift;
+     my ($prompt, $preput) = @_;
+ 
++    # make sure the outstream fd inside the readline library is
++    # in sync (see http://bugs.debian.org/236018)
++    $Attribs{outstream} = $Attribs{outstream};
++
+     # ornament support (now prompt only)
+     $prompt = ${$Attribs{term_set}}[0] . $prompt . ${$Attribs{term_set}}[1];
+ 


Property changes on: packages/libterm-readline-gnu-perl/trunk/debian/patches/30outstream.dpatch
___________________________________________________________________
Name: svn:executable
   + *




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