Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde744e9

Browse files
Fix check for trapping exit() calls in libpq
Commite9bc044 added an errorhint on the exit() check for libpq, butaccidentally changed the nm commandline to use -a instead of -A. Theseoptions are similar enough to hide it in testing, but -a can also showdebugger symbols which isn't what we want. Fix by reverting the checkback 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 parentc1aa3b3 commitde744e9

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)

[8]ページ先頭

©2009-2025 Movatter.jp