Re: [HACKERS] sysv_shmem potential problem

2004-12-31 Thread lsunley
I see, The shmem.c implementation I am using returns the OS/2 memory ID which also happens to be the base address of the allocated memory. Bug in shmem.c code then Thanks Lorne In <[EMAIL PROTECTED]>, on 12/31/04 at 03:53 PM, Tom Lane <[EMAIL PROTECTED]> said: >[EMAIL PROTECTED] writes:

Re: [HACKERS] sysv_shmem potential problem

2004-12-31 Thread Tom Lane
[EMAIL PROTECTED] writes: > I am using the sysv_shmem.c shared memory allocation api for os/2 and I > ran into a problem when OS/2 allocates shared memory over the 2 gigabyte > address boundary. > The existing sysv_shmem.c tests for the return address of the segment as > less than 0 and determines

[HACKERS] sysv_shmem potential problem

2004-12-31 Thread lsunley
Hi I am using the sysv_shmem.c shared memory allocation api for os/2 and I ran into a problem when OS/2 allocates shared memory over the 2 gigabyte address boundary. The existing sysv_shmem.c tests for the return address of the segment as less than 0 and determines that a negative indicates an er