1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Sorry for the package, but the following patch need to be applied to get

the new verion compiled on SCO Openserver 5.0.5 and Unixware 7.1.1

Nicolas Bazin
This commit is contained in:
Bruce Momjian
2002-04-24 01:56:20 +00:00
parent d37134085b
commit 2d81019493
4 changed files with 66 additions and 66 deletions

View File

@ -2720,7 +2720,7 @@ conv_from_octal(const unsigned char *s)
y = 0;
for (i = 1; i <= 3; i++)
y += (s[i] - 48) * (int) pow(8, 3 - i);
y += (s[i] - '0') << (3 * (3 - i));
return y;
@ -2743,7 +2743,7 @@ conv_from_hex(const unsigned char *s)
else
val = s[i] - '0';
y += val * (int) pow(16, 2 - i);
y += val << (4 * (2 - i));
}
return y;
@ -2798,7 +2798,7 @@ conv_to_octal(unsigned char val)
for (i = 4; i > 1; i--)
{
x[i] = (val & 7) + 48;
x[i] = (val & 7) + '0';
val >>= 3;
}

View File

@ -1,5 +1,5 @@
#! /bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.23 2002/01/03 21:52:05 tgl Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.24 2002/04/24 01:56:20 momjian Exp $
me=`basename $0`
: ${TMPDIR=/tmp}
@ -173,7 +173,7 @@ esac
# ----------
case $host_platform in
*-*-qnx*)
*-*-qnx* | *-*-sco3.2v5*)
DIFFFLAGS=-b;;
*)
DIFFFLAGS=-w;;