Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 48e24ba

Browse files
committed
Import changes from IMath versions (1.3, 1.29].
Upstream fixed bugs over the years, but none are confirmed to have affected pgcrypto. We're better off naively tracking upstream than reactively maintaining a twelve-year-old snapshot of upstream. Add a header comment describing the synchronization procedure. Discard use of INVERT_COMPARE_RESULT(); the domain of the comparisons in question is {-1,0,1}, controlled entirely by code in imath.c. Andrew Gierth reviewed the Makefile change. Tom Lane reviewed the synchronization procedure description. Discussion: https://postgr.es/m/20190203035704.GA6226@rfd.leadboat.com
1 parent d1299aa commit 48e24ba

File tree

3 files changed

+1633
-1501
lines changed

3 files changed

+1633
-1501
lines changed

contrib/pgcrypto/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ SHLIB_LINK += $(filter -leay32, $(LIBS))
5959
SHLIB_LINK += -lws2_32
6060
endif
6161

62+
# Upstream uses a larger subset of C99.
63+
imath.o: CFLAGS+=$(PERMIT_DECLARATION_AFTER_STATEMENT)
64+
6265
rijndael.o: rijndael.tbl
6366

6467
rijndael.tbl:

0 commit comments

Comments
 (0)