• 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

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to