pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jonathan S. Katz <jkatz@postgresql.org>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org, Amit Kapila <amit.kapila16@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Subject: Re: longfin missing gssapi_ext.h
Date: Mon, 17 Apr 2023 10:17:23 -0400
Message-ID: <ZD1U8wUL2aBss+52@tamriel.snowman.net> (raw)
In-Reply-To: <ZD1RVu/jlLJiq5Nw@tamriel.snowman.net>
References: <1123190.1681314906@sss.pgh.pa.us>
	<ZDba4e0JzGG6jq39@tamriel.snowman.net>
	<1ed077e4-a831-b0b6-7298-0238cf6b0c08@postgresql.org>
	<ZDf8k3vaQGnhxOry@tamriel.snowman.net>
	<2313469.1681695223@sss.pgh.pa.us>
	<ZD1CI5zcGopOnzHD@tamriel.snowman.net>
	<2415254.1681738677@sss.pgh.pa.us>
	<ZD1O+mrRDm5n/ebf@tamriel.snowman.net>
	<2418000.1681740070@sss.pgh.pa.us>
	<ZD1RVu/jlLJiq5Nw@tamriel.snowman.net>

Greetings,

* Stephen Frost (sfrost@snowman.net) wrote:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> > Stephen Frost <sfrost@snowman.net> writes:
> > > Done that way.
> > 
> > Looks like you neglected to update the configure script proper?
> 
> Pah, indeed.  Will fix.  Sorry about that.

Fixed.

I'm guessing it's not really an issue but it does make changing
configure a bit annoying on my Ubuntu 22.04, when I run autoconf2.69, I
end up with this additional hunk as changed from what our configure
currently has.

Thoughts?

Thanks,

Stephen

Attachments:

autoconf2.69-ubuntu22.04-diff.patch (text/x-diff, 2.5K) download diff --git a/configure b/configure index 82efa0d3f1..5489cddce2 100755 --- a/configure +++ b/configure @@ -15348,7 +15348,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15394,7 +15394,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15418,7 +15418,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15463,7 +15463,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15487,7 +15487,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1];
signature.asc (application/pgp-signature, 832B) download

view thread (48+ messages)  latest in thread

Message-ID: <ZD1U8wUL2aBss+52@tamriel.snowman.net>
Permalink:  ../ZD1U8wUL2aBss+52@tamriel.snowman.net/
Also on:    postgresql.org/message-id/ZD1U8wUL2aBss+52@tamriel.snowman.net

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, jkatz@postgresql.org, thomas.munro@gmail.com, amit.kapila16@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: longfin missing gssapi_ext.h
  In-Reply-To: <ZD1U8wUL2aBss+52@tamriel.snowman.net>
  References: <1123190.1681314906@sss.pgh.pa.us> <ZDba4e0JzGG6jq39@tamriel.snowman.net> <1ed077e4-a831-b0b6-7298-0238cf6b0c08@postgresql.org> <ZDf8k3vaQGnhxOry@tamriel.snowman.net> <2313469.1681695223@sss.pgh.pa.us> <ZD1CI5zcGopOnzHD@tamriel.snowman.net> <2415254.1681738677@sss.pgh.pa.us> <ZD1O+mrRDm5n/ebf@tamriel.snowman.net> <2418000.1681740070@sss.pgh.pa.us> <ZD1RVu/jlLJiq5Nw@tamriel.snowman.net> <ZD1U8wUL2aBss+52@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox