aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/main/main.c4
-rw-r--r--src/backend/utils/Gen_fmgrtab.sh.in8
-rw-r--r--src/backend/utils/adt/cash.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 7887aff3f1c..c3bb0793394 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.6 1997/04/15 17:39:17 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.7 1997/04/24 20:30:09 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,7 +17,7 @@
#include "postgres.h"
#ifdef USE_LOCALE
- #include <locale.h>
+# include <locale.h>
#endif
#include "miscadmin.h"
#include "bootstrap/bootstrap.h" /* for BootstrapMain() */
diff --git a/src/backend/utils/Gen_fmgrtab.sh.in b/src/backend/utils/Gen_fmgrtab.sh.in
index cb3ac87dd70..807862a127b 100644
--- a/src/backend/utils/Gen_fmgrtab.sh.in
+++ b/src/backend/utils/Gen_fmgrtab.sh.in
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.2 1997/04/09 08:55:32 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.3 1997/04/24 20:30:16 scrappy Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: Gen_fmgrtab.sh.in,v 1.2 1997/04/09 08:55:32 scrappy Exp $
+ * $Id: Gen_fmgrtab.sh.in,v 1.3 1997/04/24 20:30:16 scrappy Exp $
*
* NOTES
* ******************************
@@ -152,7 +152,7 @@ extern void load_file(char *filename);
FuNkYfMgRsTuFf
awk '{ print $2, $1; }' $RAWFILE | \
-@tr@ '[a-z]' '[A-Z]' | \
+@TR@ '[a-z]' '[A-Z]' | \
sed -e 's/^/#define F_/' >> $HFILE
cat >> $HFILE <<FuNkYfMgRsTuFf
@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.2 1997/04/09 08:55:32 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.3 1997/04/24 20:30:16 scrappy Exp $
*
* NOTES
*
diff --git a/src/backend/utils/adt/cash.c b/src/backend/utils/adt/cash.c
index 05d79cbe1c3..b6f2d0988c4 100644
--- a/src/backend/utils/adt/cash.c
+++ b/src/backend/utils/adt/cash.c
@@ -9,7 +9,7 @@
* workings can be found in the book "Software Solutions in C" by
* Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
*
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.5 1997/04/18 02:55:54 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.6 1997/04/24 20:30:41 scrappy Exp $
*/
#include <stdio.h>
@@ -60,7 +60,7 @@ cash_in(const char *str)
char dsymbol, ssymbol, psymbol, nsymbol, csymbol;
#ifdef USE_LOCALE
- if (lconv == NULL) *lconv = localeconv();
+ if (lconv == NULL) lconv = localeconv();
/* frac_digits in the C locale seems to return CHAR_MAX */
/* best guess is 2 in this case I think */
@@ -158,7 +158,7 @@ cash_out(Cash *value)
char convention;
#ifdef USE_LOCALE
- if (lconv == NULL) *lconv = localeconv();
+ if (lconv == NULL) lconv = localeconv();
mon_group = *lconv->mon_grouping;
comma = *lconv->mon_thousands_sep;