[SVN] r10514

Luke Daley ld at ldaley.com
Wed Sep 3 12:07:16 UTC 2008


• Instead of using syscall() to get at the real implementation of select(), use dlsym() to get the address of the real select() and call via that.

This fixes the problem we had on 64bit architectures of select() (via syscall()) returning an error due to 'Bad file descriptor'.

For an explanation of dlsym(), see http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicLibraries/Articles/UsingDynamicLibraries.html

Changed:
U   trunk/Support/lib/tm_interactive_input.dylib
U   trunk/Tools/tm_interactive_input/src/system_function_overrides.c




More information about the textmate-dev mailing list