Skip to content

Commit cb401dd

Browse files
author
rhyskidd
committed
Further fixes for bz#345394 specifically for OS X 10.10
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15038 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent 927c479 commit cb401dd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

memcheck/tests/filter_strchr

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
./filter_stderr "$@" |
55
sed -e "s/: strchr (vg_replace_strmem.c:/: index (vg_replace_strmem.c:/;
66
s/: _platform_strchr (vg_replace_strmem.c:/: index (vg_replace_strmem.c:/;
7+
s/: _platform_strchr\$VARIANT\$Generic (vg_replace_strmem.c:/: index (vg_replace_strmem.c:/;
78
s/: strrchr (vg_replace_strmem.c:/: rindex (vg_replace_strmem.c:/"

shared/vg_replace_strmem.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static inline void my_exit ( int x )
204204
//STRRCHR(VG_Z_DYLD, strrchr)
205205
//STRRCHR(VG_Z_DYLD, rindex)
206206
STRRCHR(VG_Z_LIBC_SONAME, strrchr)
207-
# if DARWIN_VERS == DARWIN_10_9
207+
# if DARWIN_VERS == DARWIN_10_9 || DARWIN_VERS == DARWIN_10_10
208208
STRRCHR(libsystemZucZddylib, strrchr)
209209
# endif
210210

@@ -245,6 +245,10 @@ static inline void my_exit ( int x )
245245
# if DARWIN_VERS == DARWIN_10_9
246246
STRCHR(libsystemZuplatformZddylib, _platform_strchr)
247247
# endif
248+
# if DARWIN_VERS == DARWIN_10_10
249+
/* _platform_strchr$VARIANT$Generic */
250+
STRCHR(libsystemZuplatformZddylib, _platform_strchr$VARIANT$Generic)
251+
# endif
248252
#endif
249253

250254

0 commit comments

Comments
 (0)