Skip to content

Commit de744e9

Browse files
Fix check for trapping exit() calls in libpq
Commit e9bc044 added an errorhint on the exit() check for libpq, but accidentally changed the nm commandline to use -a instead of -A. These options are similar enough to hide it in testing, but -a can also show debugger symbols which isn't what we want. Fix by reverting the check back to using -A again. Reported-by: Anton Voloshin <a.voloshin@postgrespro.ru> Discussion: https://postgr.es/m/bd2c8409-d6b3-5de9-ba0f-40c1381f630f@postgrespro.ru
1 parent c1aa3b3 commit de744e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ backend_src = $(top_srcdir)/src/backend
115115
libpq-refs-stamp: $(shlib)
116116
ifneq ($(enable_coverage), yes)
117117
ifeq (,$(filter aix solaris,$(PORTNAME)))
118-
@if nm -a -u $< 2>/dev/null | grep -v __cxa_atexit | grep exit; then \
118+
@if nm -A -u $< 2>/dev/null | grep -v __cxa_atexit | grep exit; then \
119119
echo 'libpq must not be calling any function which invokes exit'; exit 1; \
120120
fi
121121
endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy