From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Silence compiler warning in sepgsql |
Date: | 2017-04-06 21:25:57 |
Message-ID: | E1cwEuj-00029j-RM@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Silence compiler warning in sepgsql
<selinux/label.h> includes <stdbool.h>, which creates an incompatible
We don't care if <stdbool.h> redefines "true"/"false"; those are close
enough.
Complaint and initial patch by Mike Palmiotto. Final approach per
Tom Lane's suggestion, as discussed on hackers. Backpatching to
all supported branches.
Discussion: https://postgr.es/m/flat/623bcaae-112e-ced0-8c22-a84f75ae0c53%40joeconway.com
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/1d6f5b446fc84d8974087e66d2603ef81387a052
Modified Files
--------------
contrib/sepgsql/label.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2017-04-06 21:28:42 | pgsql: Silence uninitialized variable compiler warning in sepgsql |
Previous Message | Joe Conway | 2017-04-06 21:25:55 | pgsql: Silence compiler warning in sepgsql |