mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
attached to this mail is a patch from a colleague that makes
PostgreSQL-7.0.2 run on Linux for the Intel-IA64 architecture. It also fixes a bug in the configure scripts that caused configure to fail on the fcntl(F_SETLK) test. This fix triggered a bug in the fcntl(F_SETLK) code of the Linux kernel when used on unix domain sockets resulting in postmaster to segfault immediately after startup. There is a fix available and included in the kernel that will be on SuSE Linux 7.0, but kernels <= 2.2.16 still have this bug. Reinhard Max
This commit is contained in:
@@ -33,7 +33,12 @@ typedef unsigned int slock_t;
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#elif defined(__arm__)
|
||||
typedef unsigned char slock_t
|
||||
typedef unsigned char slock_t;
|
||||
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#elif defined(__ia64__)
|
||||
typedef unsigned int slock_t;
|
||||
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
|
||||
Reference in New Issue
Block a user