15 Mar
2006
15 Mar
'06
6:58 p.m.
On Mar 15, 2006, at 6:03 AM, Axel Luttgens wrote:
So, my question is: shouldn't line 219 of darwintrace.c read
ssize_t readlink(const char * path, char * buf, ssize_t bufsiz) {
instead of
ssize_t readlink(const char * path, char * buf, size_t bufsiz) {
The real issue is that the declaration of readlink in unistd.h changed in tiger. The darwintrace.c code is correct for Tiger, but incorrect for earlier releases. We'll need to support both versions, conditionalized by one of the macros in AvailabilityMacros.h. - Kevin