r55961 - in /scripts: patchedit t/patchedit/01_patchedit.t t/patchedit/subject.ok t/patchedit/subject.ok-o t/patchedit/subject.orig

potyl-guest at users.alioth.debian.org potyl-guest at users.alioth.debian.org
Sun Apr 11 15:45:58 UTC 2010


Author: potyl-guest
Date: Sun Apr 11 15:45:29 2010
New Revision: 55961

URL: http://svn.debian.org/wsvn/?sc=1&rev=55961
Log:
Fix 'Subject:' has a special formating

Added:
    scripts/t/patchedit/subject.ok
    scripts/t/patchedit/subject.ok-o
    scripts/t/patchedit/subject.orig
Modified:
    scripts/patchedit
    scripts/t/patchedit/01_patchedit.t

Modified: scripts/patchedit
URL: http://svn.debian.org/wsvn/scripts/patchedit?rev=55961&op=diff
==============================================================================
--- scripts/patchedit (original)
+++ scripts/patchedit Sun Apr 11 15:45:29 2010
@@ -83,7 +83,6 @@
 
 =head1 TODO
 
- * "Subject:" has a special formating
  * preserve the extra fields
  * handle patches with comments
 

Modified: scripts/t/patchedit/01_patchedit.t
URL: http://svn.debian.org/wsvn/scripts/t/patchedit/01_patchedit.t?rev=55961&op=diff
==============================================================================
--- scripts/t/patchedit/01_patchedit.t (original)
+++ scripts/t/patchedit/01_patchedit.t Sun Apr 11 15:45:29 2010
@@ -4,7 +4,7 @@
 use warnings;
 
 #use Test::More 'no_plan';
-use Test::More tests => 10;
+use Test::More tests => 12;
 use Test::Differences;
 use Test::Exception;
 use File::Slurp 'read_file';
@@ -20,7 +20,7 @@
 
 sub maint {
 	local $ENV{'EDITOR'} = '/bin/true';
-	foreach my $type (qw(no-meta no-meta2 with-meta with-meta-and-extra-fields with-utf8-meta)) {
+	foreach my $type (qw(no-meta no-meta2 with-meta with-meta-and-extra-fields with-utf8-meta subject)) {
 		foreach my $sub_type ('', '-o') {
 			copy("t/patchedit/$type.orig", 't/patchedit/'.$type);
 			local @ARGV = (($sub_type ? $sub_type : ()), '-f', 'edit', 't/patchedit/'.$type);

Added: scripts/t/patchedit/subject.ok
URL: http://svn.debian.org/wsvn/scripts/t/patchedit/subject.ok?rev=55961&op=file
==============================================================================
--- scripts/t/patchedit/subject.ok (added)
+++ scripts/t/patchedit/subject.ok Sun Apr 11 15:45:29 2010
@@ -1,0 +1,27 @@
+Subject: Fix regex problems with some multi-bytes characters
+
+* posix/bug-regex17.c: Add testcases.
+* posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
+  handling.
+
+Origin: upstream, http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bdb56bac
+Bug: http://sourceware.org/bugzilla/show_bug.cgi?id=9697
+Bug-Debian: http://bugs.debian.org/510219
+From: Ulrich Drepper <drepper at redhat.com>
+
+diff --git a/XS.pm b/XS.pm
+index c44c9a3..a6507f7 100644
+--- a/XS.pm
++++ b/XS.pm
+@@ -681,8 +681,9 @@ The opposite of C<encode>: expects a JSON text and tries to parse it,
+ returning the resulting simple scalar or reference. Croaks on error.
+ 
+ JSON numbers and strings become simple Perl scalars. JSON arrays become
+-Perl arrayrefs and JSON objects become Perl hashrefs. C<true> becomes
+-C<1>, C<false> becomes C<0> and C<null> becomes C<undef>.
++Perl arrayrefs and JSON objects become Perl hashrefs.
++C<true> becomes JSON::XS::true (equals 1 numerically and as a string),
++C<false> becomes JSON::XS::false (equals 0) and C<null> becomes C<undef>.
+ 
+ =item ($perl_scalar, $characters) = $json->decode_prefix ($json_text)
+ 

Added: scripts/t/patchedit/subject.ok-o
URL: http://svn.debian.org/wsvn/scripts/t/patchedit/subject.ok-o?rev=55961&op=file
==============================================================================
--- scripts/t/patchedit/subject.ok-o (added)
+++ scripts/t/patchedit/subject.ok-o Sun Apr 11 15:45:29 2010
@@ -1,0 +1,30 @@
+Subject: Fix regex problems with some multi-bytes characters
+
+* posix/bug-regex17.c: Add testcases.
+* posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
+  handling.
+
+Origin: upstream, http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bdb56bac
+Bug: http://sourceware.org/bugzilla/show_bug.cgi?id=9697
+Bug-Debian: http://bugs.debian.org/510219
+Forwarded: *** FIXME ***
+From: Ulrich Drepper <drepper at redhat.com>
+Reviewed-by: *** FIXME ***
+Last-Update: 2004-02-02
+
+diff --git a/XS.pm b/XS.pm
+index c44c9a3..a6507f7 100644
+--- a/XS.pm
++++ b/XS.pm
+@@ -681,8 +681,9 @@ The opposite of C<encode>: expects a JSON text and tries to parse it,
+ returning the resulting simple scalar or reference. Croaks on error.
+ 
+ JSON numbers and strings become simple Perl scalars. JSON arrays become
+-Perl arrayrefs and JSON objects become Perl hashrefs. C<true> becomes
+-C<1>, C<false> becomes C<0> and C<null> becomes C<undef>.
++Perl arrayrefs and JSON objects become Perl hashrefs.
++C<true> becomes JSON::XS::true (equals 1 numerically and as a string),
++C<false> becomes JSON::XS::false (equals 0) and C<null> becomes C<undef>.
+ 
+ =item ($perl_scalar, $characters) = $json->decode_prefix ($json_text)
+ 

Added: scripts/t/patchedit/subject.orig
URL: http://svn.debian.org/wsvn/scripts/t/patchedit/subject.orig?rev=55961&op=file
==============================================================================
--- scripts/t/patchedit/subject.orig (added)
+++ scripts/t/patchedit/subject.orig Sun Apr 11 15:45:29 2010
@@ -1,0 +1,27 @@
+From: Ulrich Drepper <drepper at redhat.com>
+Subject: Fix regex problems with some multi-bytes characters
+
+* posix/bug-regex17.c: Add testcases.
+* posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
+  handling.
+
+Origin: upstream, http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bdb56bac
+Bug: http://sourceware.org/bugzilla/show_bug.cgi?id=9697
+Bug-Debian: http://bugs.debian.org/510219
+
+diff --git a/XS.pm b/XS.pm
+index c44c9a3..a6507f7 100644
+--- a/XS.pm
++++ b/XS.pm
+@@ -681,8 +681,9 @@ The opposite of C<encode>: expects a JSON text and tries to parse it,
+ returning the resulting simple scalar or reference. Croaks on error.
+ 
+ JSON numbers and strings become simple Perl scalars. JSON arrays become
+-Perl arrayrefs and JSON objects become Perl hashrefs. C<true> becomes
+-C<1>, C<false> becomes C<0> and C<null> becomes C<undef>.
++Perl arrayrefs and JSON objects become Perl hashrefs.
++C<true> becomes JSON::XS::true (equals 1 numerically and as a string),
++C<false> becomes JSON::XS::false (equals 0) and C<null> becomes C<undef>.
+ 
+ =item ($perl_scalar, $characters) = $json->decode_prefix ($json_text)
+ 




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