Re: [HACKERS] SunOS4

2001-02-28 Thread Tatsuo Ishii
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > I have committed massive changes for SunOS4 port. Tested on: > > SunOS 4.1.4 > > Vine Linux 2.1 (variant of RedHat Linux 6.2J) > > FreeBSD 4.2-RELEASE > > Please let me know if I have broken something. > > Everything still builds and passes regressio

Re: [HACKERS] SunOS4

2001-02-27 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > I have committed massive changes for SunOS4 port. Tested on: > SunOS 4.1.4 > Vine Linux 2.1 (variant of RedHat Linux 6.2J) > FreeBSD 4.2-RELEASE > Please let me know if I have broken something. Everything still builds and passes regression on HPUX, but I

Re: [HACKERS] SunOS4

2001-02-27 Thread Peter Eisentraut
Tatsuo Ishii writes: > > I've been working to make PostgreSQL run on SunOS4 (again). > > I have committed massive changes for SunOS4 port. Tested on: > > SunOS 4.1.4 > Vine Linux 2.1 (variant of RedHat Linux 6.2J) > FreeBSD 4.2-RELEASE > > Please let me know if I have broken something. I think t

Re: [HACKERS] SunOS4

2001-02-27 Thread Tatsuo Ishii
> I've been working to make PostgreSQL run on SunOS4 (again). I have committed massive changes for SunOS4 port. Tested on: SunOS 4.1.4 Vine Linux 2.1 (variant of RedHat Linux 6.2J) FreeBSD 4.2-RELEASE Please let me know if I have broken something. -- Tatsuo Ishii

Re: [HACKERS] SunOS4

2001-02-21 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > o SunOS4 does not have atexit (used in psql). --> igore it > > Maybe on_exit() is available, or even more portable? > SunOS4 has on_exit. Can we change atexit to on_exit? atexit is ANSI C. on_exit is not found here (HPUX) at all. Looks like we need a

Re: [HACKERS] SunOS4

2001-02-21 Thread Tatsuo Ishii
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > o SunOS4 does not have atexit (used in psql). --> igore it > > > > Maybe on_exit() is available, or even more portable? > > > SunOS4 has on_exit. Can we change atexit to on_exit? > > atexit is ANSI C. on_exit is not found here (HPUX) at all. Look

Re: [HACKERS] SunOS4

2001-02-21 Thread Peter Eisentraut
Tatsuo Ishii writes: > o c.h 's sunos4 part should not include varargs.h. (Tom has already > fixed it) Instead, stdlib.h and stdarg.h should be included. This should be okay by now. > o no RAND_MAX or EXIT_FAILURE found. I simply added them to c.h. EXIT_FAILURE is defined in src/bin/psql/set

Re: [HACKERS] SunOS4

2001-02-21 Thread Tatsuo Ishii
> > o no RAND_MAX or EXIT_FAILURE found. I simply added them to c.h. > > EXIT_FAILURE is defined in src/bin/psql/settings.h; I can't find it used > outside psql. So SunOS should be ok with this in current. > RAND_MAX should be inside an #ifndef RAND_MAX, not in a > SunOS specific section. Ok.

Re: [HACKERS] SunOS4

2001-02-21 Thread Tatsuo Ishii
> > > o SunOS4 does not have atexit (used in psql). --> igore it > > > > Maybe on_exit() is available, or even more portable? > > Let me check it. SunOS4 has on_exit. Can we change atexit to on_exit? > > > o to make shared library I have added an entry for SunOS4 in > > > Makefile.shlib. > >

Re: [HACKERS] SunOS4

2001-02-21 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tatsuo Ishii writes: >> o regex/utils.h included twice somewhere. I added #ifndef >> UTILS_H... to utils.h > Okay. Actually, the problem is probably gone. c.h was including regex/utils.h if the platform didn't have memmove(), but I thought that was

Re: [HACKERS] SunOS4

2001-02-21 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > included are patched for *7.0.x*. Sould I make same changes to 7.1? > Comments anyone? I think some of these issues are already handled in current sources, but sure, we want to be able to run on SunOS. Portability is a good thing. I'd suggest consultin

[HACKERS] SunOS4

2001-02-20 Thread Tatsuo Ishii
I've been working to make PostgreSQL run on SunOS4 (again). So far I have found following issues: o c.h 's sunos4 part should not include varargs.h. (Tom has already fixed it) Instead, stdlib.h and stdarg.h should be included. o no RAND_MAX or EXIT_FAILURE found. I simply added them to c.h.