From: | Reini Urban <rurban(at)x-ray(dot)at> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | cygwin 8.0.0beta1 postmaster/syslogger.c, port/dirmod.c, timezone/pgtz.c |
Date: | 2004-08-24 19:49:51 |
Message-ID: | 412B9BDF.1010806@x-ray.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-patches |
Attached patches are required for cygwin:
2004-08-24 21:23:53 rurban(at)x-ray(dot)at
* (postmaster/syslogger.c) struct timeval is
declared in sys/time.h, not in time.h
2004-08-24 20:20:54 rurban:
* (port/dirmod.c) cygwin needs different header locations,
and unlink is a macro. There are no pgport_palloc
versions yet
timezone/pgtz.c:
Pending is a patch against postgresql-8.0.0beta1/config/c-library.m4:
PGAC_VAR_INT_TIMEZONE
In the meantime I've hacked it with a cast from time_t to (int) in
timezone/pgtz.c: get_timezone_offset
but timezone really is of time_t, not int. I don't know what you are
trying to do here.
There's on remaining issue for the cygwin build:
../../src/port/libpgport.a(dirmod.o)(.text+0x5ee):dirmod.c: undefined
reference to `__imp__CurrentMemoryContext'
../../src/port/libpgport.a(dirmod.o)(.text+0x64b):dirmod.c: undefined
reference to `__imp__CurrentMemoryContext'
which explains the pgport_palloc problem.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
Attachment | Content-Type | Size |
---|---|---|
postgresql-8.0.0beta1-dirmode.diff | text/plain | 809 bytes |
postgresql-8.0.0beta1-timeval.diff | text/plain | 451 bytes |
postgresql-8.0.0beta1-pgtz.diff | text/plain | 441 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2004-08-24 20:05:15 | Re: dlopen error 128 with createlang |
Previous Message | Kumar Pandey | 2004-08-24 02:08:24 | Postgres 7.4.3-1, plperl and perl-5.8.2 |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2004-08-24 20:24:50 | Re: cygwin 8.0.0beta1 postmaster/syslogger.c, port/dirmod.c, timezone/pgtz.c |
Previous Message | Dave Page | 2004-08-24 14:50:50 | Service control enhancements |