dg(at)illustra(dot)com (David Gould) writes:
> These were meant to be in the conditional blocks at the end of the file so
> that if (and only if) no definition existed we would get a default. So:
> #ifndef S_UNLOCK
> #define S_UNLOCK(lock) (*(lock) = 0)
> #ifndef S_INIT_LOCK
> #define S_INIT_LOCK(lock) S_UNLOCK(lock)
Right, but those default definitions were *already there*.
The lines I was complaining about were added immediately after the
default definitions, and overrode *any* prior definition of the macros.
As far as I can see they were just a typo/thinko.
regards, tom lane
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 1998-07-20 20:20:55|
|Subject: Re: [HACKERS] Current sources?t|
|Previous:||From: David Hartwig||Date: 1998-07-20 19:35:23|
|Subject: Re: [HACKERS] Current sources?|