Re: [HACKERS] more possible dead ports cleanup

2012-05-08 Thread Peter Eisentraut
On mån, 2012-05-07 at 10:50 -0400, Robert Haas wrote: > > - (Side point, the definition of endof() in the same place isn't used > > anywhere, and doesn't look safe to me, because it can go one past the > > end of memory.) > > That I think we could remove. I decided to keep it because it was used

Re: [HACKERS] more possible dead ports cleanup

2012-05-07 Thread Robert Haas
On Sun, May 6, 2012 at 9:04 AM, Peter Eisentraut wrote: > I think a few more things could removed/simplified after the recent > round of port removal: > > - Remove definition of offsetof() in c.h I see no particular virtue to getting rid of this. > - (Side point, the definition of endof() in the

[HACKERS] more possible dead ports cleanup

2012-05-06 Thread Peter Eisentraut
I think a few more things could removed/simplified after the recent round of port removal: - Remove definition of offsetof() in c.h - (Side point, the definition of endof() in the same place isn't used anywhere, and doesn't look safe to me, because it can go one past the end of memory.) - Remove