This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: intl/msgs.h is broken


Sorry, I must have sent a wrong version of the patch.  Here is the obvious
fix.

2003-03-30  Paolo Bonzini  mailto:bonzini at gnu dot org

        * intl/po2test.sed: directives must start at the beginning of the line.

Paolo

--- po2test.sed.broken  Sun Mar 30 21:26:30 2003
+++ po2test.sed Sun Mar 30 21:27:04 2003
@@ -21,14 +21,14 @@
 # We copy the original message as a comment into the .msg file.  But enclose
 # them with INPUT ( ).
 #
-s/msgid[        ]*"\(.*\)"/INPUT ("\1")/
+s/^msgid[        ]*"\(.*\)"/INPUT ("\1")/
 # Clear flag from last substitution and jump if matching
 tb

 #
 # Copy the translations as well and enclose them with OUTPUT ( ).
 #
-s/msgstr[       ]*"\(.*\)"/OUTPUT ("\1")/
+s/^msgstr[       ]*"\(.*\)"/OUTPUT ("\1")/
 # Clear flag from last substitution and jump if matching
 tb




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]