[SVN] r9372

Luke Daley ld at ldaley.com
Sun Apr 13 05:42:59 UTC 2008


• Only invoke the dialog if the fd (that is STDIN) that a read is being requested for is owned by TM.

TM now sets the environment variable 'TM_PID'. We compare this value with the absolute value of the owner of the fd. If TM_PID is not set, then we assume that TM does not own the fd.

Changed:
U   trunk/Support/lib/tm_interactive_input.dylib
U   trunk/Tools/tm_interactive_input/src/read.c
A   trunk/Tools/tm_interactive_input/src/textmate.c
A   trunk/Tools/tm_interactive_input/src/textmate.h
U   trunk/Tools/tm_interactive_input/test/bash-test-script.sh



More information about the textmate-dev mailing list