aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-14 06:54:39 +0000
committerRoland McGrath <roland@gnu.org>2004-08-14 06:54:39 +0000
commitc73f137c551738dac75cac7a0ec60f1ad7ad6e6e (patch)
tree4ab43a6bd09e818eeba4a7cbc4fb8bb8ec6256fe /scripts
parent5c81b3e1b77a3f47a4f29e21c5e61d12a7369e93 (diff)
downloadglibc-c73f137c551738dac75cac7a0ec60f1ad7ad6e6e.tar
glibc-c73f137c551738dac75cac7a0ec60f1ad7ad6e6e.tar.gz
glibc-c73f137c551738dac75cac7a0ec60f1ad7ad6e6e.tar.bz2
glibc-c73f137c551738dac75cac7a0ec60f1ad7ad6e6e.zip
2004-08-13 Daniel Jacobowitz <dan@debian.org>
* scripts/output-format.sed: Handle default case of three-argument OUTPUT_FORMAT.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/output-format.sed7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/output-format.sed b/scripts/output-format.sed
index 61e658a152..364f52059f 100644
--- a/scripts/output-format.sed
+++ b/scripts/output-format.sed
@@ -7,7 +7,7 @@ t o
: o
s/^.*OUTPUT_FORMAT(\([^,]*\), \1, \1).*$/OUTPUT_FORMAT(\1)/
t q
-s/^.*OUTPUT_FORMAT(\([^,]*\), \([^,]*\), \([^,]*\)).*$/\2,\3/
+s/^.*OUTPUT_FORMAT(\([^,]*\), \([^,]*\), \([^,]*\)).*$/\1,\2,\3/
t s
s/^.*OUTPUT_FORMAT(\([^,)]*\).*$)/OUTPUT_FORMAT(\1)/
t q
@@ -16,8 +16,9 @@ d
s/"//g
G
s/\n//
-s/^\([^,]*\),\([^,]*\),B/OUTPUT_FORMAT(\1)/p
-s/^\([^,]*\),\([^,]*\),L/OUTPUT_FORMAT(\2)/p
+s/^\([^,]*\),\([^,]*\),\([^,]*\),B/OUTPUT_FORMAT(\2)/p
+s/^\([^,]*\),\([^,]*\),\([^,]*\),L/OUTPUT_FORMAT(\3)/p
+s/^\([^,]*\),\([^,]*\),\([^,]*\)/OUTPUT_FORMAT(\1)/p
/,/s|^|*** BUG in libc/scripts/output-format.sed *** |p
q
: q