Re: [HACKERS] build of 7.2.1 on SCO Openserver and Unixware - Mailing list pgsql-patches
From | Bruce Momjian |
---|---|
Subject | Re: [HACKERS] build of 7.2.1 on SCO Openserver and Unixware |
Date | |
Msg-id | 200204180123.g3I1NJp08060@candle.pha.pa.us Whole thread Raw |
In response to | Re: [HACKERS] build of 7.2.1 on SCO Openserver and (Larry Rosenman <ler@lerctr.org>) |
Responses |
Re: [HACKERS] build of 7.2.1 on SCO Openserver and
Re: [HACKERS] build of 7.2.1 on SCO Openserver and Unixware |
List | pgsql-patches |
OK, new code is: ! *-*-qnx* | *beos* | *-*-sco3.2v5*) --------------------------------------------------------------------------- Larry Rosenman wrote: > The have_unix_sockets test in the regression test script should NOT > include sysv5. They work fine in UnixWare 7.1.1 and OU8. > > > > On Wed, 2002-04-17 at 20:17, Bruce Momjian wrote: > > Nicolas Bazin wrote: > > > 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 > > > > Reworked patch attached. I reordered configure.in (autoconf will need > > to be run). I fixed the ODBC pow() call as Tom suggested, and the > > regression script. I did not touch TCL because that should be reworked > > for 7.3 anyway. > > > > -- > > Bruce Momjian | http://candle.pha.pa.us > > pgman@candle.pha.pa.us | (610) 853-3000 > > + If your life is a hard drive, | 830 Blythe Avenue > > + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 > > ---- > > > > > Index: configure.in > > =================================================================== > > RCS file: /cvsroot/pgsql/configure.in,v > > retrieving revision 1.178 > > diff -c -r1.178 configure.in > > *** configure.in 14 Apr 2002 17:23:20 -0000 1.178 > > --- configure.in 18 Apr 2002 01:14:14 -0000 > > *************** > > *** 696,703 **** > > AC_CHECK_LIB(util, setproctitle) > > AC_CHECK_LIB(m, main) > > AC_CHECK_LIB(dl, main) > > - AC_CHECK_LIB(socket, main) > > AC_CHECK_LIB(nsl, main) > > AC_CHECK_LIB(ipc, main) > > AC_CHECK_LIB(IPC, main) > > AC_CHECK_LIB(lc, main) > > --- 696,703 ---- > > AC_CHECK_LIB(util, setproctitle) > > AC_CHECK_LIB(m, main) > > AC_CHECK_LIB(dl, main) > > AC_CHECK_LIB(nsl, main) > > + AC_CHECK_LIB(socket, main) > > AC_CHECK_LIB(ipc, main) > > AC_CHECK_LIB(IPC, main) > > AC_CHECK_LIB(lc, main) > > Index: src/interfaces/odbc/convert.c > > =================================================================== > > RCS file: /cvsroot/pgsql/src/interfaces/odbc/convert.c,v > > retrieving revision 1.78 > > diff -c -r1.78 convert.c > > *** src/interfaces/odbc/convert.c 1 Apr 2002 03:01:14 -0000 1.78 > > --- src/interfaces/odbc/convert.c 18 Apr 2002 01:14:29 -0000 > > *************** > > *** 2717,2723 **** > > y = 0; > > > > for (i = 1; i <= 3; i++) > > ! y += (s[i] - 48) * (int) pow(8, 3 - i); > > > > return y; > > > > --- 2717,2723 ---- > > y = 0; > > > > for (i = 1; i <= 3; i++) > > ! y += (s[i] - '0') << (3 * (3 - i)); > > > > return y; > > > > *************** > > *** 2740,2746 **** > > else > > val = s[i] - '0'; > > > > ! y += val * (int) pow(16, 2 - i); > > } > > > > return y; > > --- 2740,2746 ---- > > else > > val = s[i] - '0'; > > > > ! y += val << (4 * (2 - i)); > > } > > > > return y; > > *************** > > *** 2795,2801 **** > > > > for (i = 4; i > 1; i--) > > { > > ! x[i] = (val & 7) + 48; > > val >>= 3; > > } > > > > --- 2795,2801 ---- > > > > for (i = 4; i > 1; i--) > > { > > ! x[i] = (val & 7) + '0'; > > val >>= 3; > > } > > > > Index: src/test/regress/pg_regress.sh > > =================================================================== > > RCS file: /cvsroot/pgsql/src/test/regress/pg_regress.sh,v > > retrieving revision 1.23 > > diff -c -r1.23 pg_regress.sh > > *** src/test/regress/pg_regress.sh 3 Jan 2002 21:52:05 -0000 1.23 > > --- src/test/regress/pg_regress.sh 18 Apr 2002 01:14:30 -0000 > > *************** > > *** 161,167 **** > > # ---------- > > > > case $host_platform in > > ! *-*-qnx* | *beos*) > > unix_sockets=no;; > > *) > > unix_sockets=yes;; > > --- 161,167 ---- > > # ---------- > > > > case $host_platform in > > ! *-*-qnx* | *beos* | *-*-sco3.2v5* | *-*-sysv5) > > unix_sockets=no;; > > *) > > unix_sockets=yes;; > > ---- > > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 4: Don't 'kill -9' the postmaster > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 972-414-9812 E-Mail: ler@lerctr.org > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
pgsql-patches by date: