Skip to content

Commit 3f2fff5

Browse files
committed
Search contrib/tcl for tcl startup.
1 parent e12f416 commit 3f2fff5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/backend/utils/adt/numutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.27 1998/09/12 16:04:35 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.28 1998/10/02 01:22:42 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -50,7 +50,7 @@
5050
int32
5151
pg_atoi(char *s, int size, int c)
5252
{
53-
long l;
53+
long l = 0;
5454
char *badp = (char *) NULL;
5555

5656
Assert(s);

src/pl/tcl/mkMakefile.tcldefs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ else
55
if [ -f /usr/lib/tclConfig.sh ]; then
66
echo "using tclConfig.sh from /usr/lib"
77
. /usr/lib/tclConfig.sh
8+
elif [ -f /usr/contrib/lib/tclConfig.sh ]; then
9+
echo "using tclConfig.sh from /usr/contrib/lib"
10+
. /usr/contrib/lib/tclConfig.sh
811
else
912
if [ -f /usr/local/lib/tclConfig.sh ]; then
1013
echo "using tclConfig.sh from /usr/local/lib"
1114
. /usr/local/lib/tclConfig.sh
1215
else
13-
echo "tclConfig.sh not found in /usr/lib or /usr/local/lib"
16+
echo "tclConfig.sh not found in /usr/lib, /usr/contrib/lib, or /usr/local/lib"
1417
echo "I need this file! Please make a symbolic link to this file"
1518
echo "and start make again."
1619
exit 1

0 commit comments

Comments
 (0)