From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Peter Geoghegan <pg(at)bowt(dot)ie> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Harmonizing pg_bsd_indent parameter names |
Date: | 2024-06-13 01:35:26 |
Message-ID: | ZmpM3jSJrOO8mB-6@nathan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jun 12, 2024 at 05:59:14PM -0400, Peter Geoghegan wrote:
> There is also one oddball case, not quite in either category. This
> involves zic.c's declaration of
> link(), when it should actually just be using the #include <unistd.h>
> declaration. That's another weird upstream code thing -- this isn't
> exactly fully under our control. I've avoided doing anything about
> that, but perhaps I should have proposed a patch for that, too (it's
> fairly similar to pg_bsd_indent). What do you think of that idea?
That one seems to be synchronized somewhat regularly, and I haven't been
the one doing the synchronizing, so we might want to be a little more
cautious there. But I do see a couple of commits that have touched it
(e.g., 235c0f6, c4f8e89, 0245f8d). At a glance, it looks like the link()
stuff might be intended for Windows. I see we have our own version in
win32link.c, so your idea to remove it in favor of the unistd.h declaration
seems like it ought to work.
--
nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-06-13 01:58:53 | Re: Harmonizing pg_bsd_indent parameter names |
Previous Message | Thomas Munro | 2024-06-13 01:20:17 | Re: Changing default -march landscape |