Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Christian Ruppert (idl0r)" <idl0r@g.o>
Subject: gentoolkit r575 - trunk/src/echangelog
Date: Sat, 02 May 2009 12:17:14 +0000
Author: idl0r
Date: 2009-05-02 12:17:14 +0000 (Sat, 02 May 2009)
New Revision: 575

Modified:
   trunk/src/echangelog/echangelog
Log:
Fixed text_fill, \h is just available in perl >= 5.10 so use hex instead, thanks to ohnobinki.

Modified: trunk/src/echangelog/echangelog
===================================================================
--- trunk/src/echangelog/echangelog	2009-05-01 22:30:00 UTC (rev 574)
+++ trunk/src/echangelog/echangelog	2009-05-02 12:17:14 UTC (rev 575)
@@ -93,7 +93,6 @@
 # Copied from Text::Wrap.
 # The only modified thing is:
 # We trim _just_ tab/space etc. but not \n/\r.
-# So \h should cover \x09, \x0B, \x0C and \x20.
 # \s treats even \n/\r as whitespace.
 sub text_fill {
 	my ($ip, $xp, @raw) = @_;
@@ -101,7 +100,7 @@
 	my $pp;
 
 	for $pp ( split(/\n\s+/, join("\n", @raw)) ) {
-		$pp =~ s/\h+/ /g;
+		$pp =~ s/[\x09|\x0B|\x0C|\x20]+/ /g;
 		my $x = Text::Wrap::wrap($ip, $xp, $pp);
 		push(@para, $x);
 	}



Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-perl/AppConfig: ChangeLog AppConfig-1.56-r2.ebuild
Next by thread:
gentoo-x86 commit in app-accessibility/dasher/files: dasher-4.4.0-gnome_help.patch dasher-4.7.3-no-gnome.patch dasher-4.6.1-gnome.patch dasher-4.7.0-as-needed.patch dasher-4.5.2-gcc4-speech-fix.patch dasher-4.7.3-cairo.patch dasher-4.5.2-as-needed.patch dasher-4.7.3-gcc-4.3.patch dasher-4.6.1-lldiv.patch
Previous by date:
gentoo-x86 commit in dev-perl/Alien-wxWidgets: ChangeLog Alien-wxWidgets-0.34.ebuild
Next by date:
gentoo-x86 commit in app-accessibility/dasher/files: dasher-4.4.0-gnome_help.patch dasher-4.7.3-no-gnome.patch dasher-4.6.1-gnome.patch dasher-4.7.0-as-needed.patch dasher-4.5.2-gcc4-speech-fix.patch dasher-4.7.3-cairo.patch dasher-4.5.2-as-needed.patch dasher-4.7.3-gcc-4.3.patch dasher-4.6.1-lldiv.patch


Updated Jan 08, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.