Skip to content

Commit 6dd0673

Browse files
committed
Remove configure check for how to abbreviate 'tr A-Z a-z', and instead
just use the portable form, tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz There were a bunch of places that weren't paying attention to configure's result anyway (including configure itself!?); clean them up too.
1 parent 33bb1ae commit 6dd0673

File tree

8 files changed

+559
-535
lines changed

8 files changed

+559
-535
lines changed

src/backend/utils/Gen_fmgrtab.sh.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.19 2000/01/11 01:42:08 tgl Exp $
11+
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.20 2000/05/16 02:14:14 tgl Exp $
1212
#
1313
# NOTES
1414
# Passes any -D options on to cpp prior to generating the list
@@ -83,7 +83,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
8383
*
8484
* Copyright (c) 1994, Regents of the University of California
8585
*
86-
* $Id: Gen_fmgrtab.sh.in,v 1.19 2000/01/11 01:42:08 tgl Exp $
86+
* $Id: Gen_fmgrtab.sh.in,v 1.20 2000/05/16 02:14:14 tgl Exp $
8787
*
8888
* NOTES
8989
* ******************************
@@ -171,7 +171,7 @@ FmgrInfo *fmgr_pl_finfo;
171171
*/
172172
FuNkYfMgRsTuFf
173173

174-
@TR@ @TRARGS@ < $RAWFILE | \
174+
tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' < $RAWFILE | \
175175
awk '
176176
BEGIN { OFS = ""; }
177177
{ if (seenit[$2]++ == 0) print "#define F_", $2, " ", $1; }' >> $HFILE
@@ -197,7 +197,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
197197
*
198198
*
199199
* IDENTIFICATION
200-
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.19 2000/01/11 01:42:08 tgl Exp $
200+
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.20 2000/05/16 02:14:14 tgl Exp $
201201
*
202202
* NOTES
203203
*

0 commit comments

Comments
 (0)