Skip to content

Commit 5f05a7c

Browse files
committed
---
yaml --- r: 14062 b: refs/heads/try c: 5163606 h: refs/heads/master v: v3
1 parent 261ccd1 commit 5f05a7c

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 75c56e84940f6985a67e117a82142a1c23ea2392
5+
refs/heads/try: 5163606d060ccb2c6462d34f590e2a1f30ce4a1f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/mk/platform.mk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ ifneq ($(findstring darwin,$(CFG_OSTYPE)),)
9999
CFG_INSTALL_NAME = -Wl,-install_name,@rpath/$(1)
100100
endif
101101

102+
# Hack: not sure how to test if a file exists in make other than this
103+
OS_SUPP = $(patsubst %,--suppressions=%,\
104+
$(wildcard $(CFG_SRC_DIR)src/etc/$(CFG_OSTYPE).supp*))
105+
102106
ifneq ($(findstring mingw,$(CFG_OSTYPE)),)
103107
CFG_WINDOWSY := 1
104108
endif
@@ -154,7 +158,9 @@ ifdef CFG_UNIXY
154158
ifdef CFG_VALGRIND
155159
CFG_VALGRIND += --leak-check=full \
156160
--error-exitcode=100 \
157-
--quiet --suppressions=$(CFG_SRC_DIR)src/etc/x86.supp
161+
--quiet \
162+
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
163+
$(OS_SUPP)
158164
endif
159165
endif
160166

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
issue_1333_setenv_leak
3+
Memcheck:Leak
4+
fun:malloc_zone_malloc
5+
...
6+
fun:setenv
7+
fun:setenv__c_stack_shim
8+
...
9+
}

0 commit comments

Comments
 (0)