diff options
author | ivmai <ivmai> | 2010-08-14 09:28:38 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:54 +0400 |
commit | 24a998358610e865d9d98f8fff83dc7330a1dd18 (patch) | |
tree | 68c3c58dd7b6305d17ccc3faf53e74ecf12b1233 /os_dep.c | |
parent | 9fe5bf2f4a698aeb4d24322844a113a0d0178a26 (diff) | |
download | bdwgc-24a998358610e865d9d98f8fff83dc7330a1dd18.tar.gz |
2010-08-14 Ivan Maidanski <ivmai@mail.ru>
* extra/threadlibs.c (main): Remove --wrap for "read" (since not
wrapped anymore).
* doc/README.linux (GC_USE_LD_WRAP): Ditto.
* os_dep.c (__wrap_read): Ditto (in the comment).
Diffstat (limited to 'os_dep.c')
-rw-r--r-- | os_dep.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3489,8 +3489,6 @@ ssize_t read(int fd, void *buf, size_t nbyte) #if defined(GC_USE_LD_WRAP) && !defined(THREADS) /* We use the GNU ld call wrapping facility. */ - /* This requires that the linker be invoked with "--wrap read". */ - /* This can be done by passing -Wl,"--wrap read" to gcc. */ /* I'm not sure that this actually wraps whatever version of read */ /* is called by stdio. That code also mentions __read. */ # include <unistd.h> |