diff options
| author | Christian Schneider | 2009-12-30 14:08:13 +0000 | 
|---|---|---|
| committer | Christian Schneider | 2009-12-30 14:08:13 +0000 | 
| commit | b3228a3ff580abd3ea33b37a349d48617285e29a (patch) | |
| tree | f569d4132c0fb8e3a798fc87eb823999452e8d72 /it_debug.class | |
| parent | 035e1e94288ce0604765819d503ae88066e95282 (diff) | |
| download | itools-b3228a3ff580abd3ea33b37a349d48617285e29a.tar.gz itools-b3228a3ff580abd3ea33b37a349d48617285e29a.tar.bz2 itools-b3228a3ff580abd3ea33b37a349d48617285e29a.zip | |
Work around PHP bug 49819: posix_isatty seeks to start
Diffstat (limited to 'it_debug.class')
| -rw-r--r-- | it_debug.class | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/it_debug.class b/it_debug.class index d8f45cf..b7213d5 100644 --- a/it_debug.class +++ b/it_debug.class @@ -95,6 +95,7 @@ function dump($args)  		$nored = "\033[m";  	} +	@fseek(STDOUT, 0, SEEK_END);	# Work around PHP bug 49819: posix_isatty seeks to start  	$src = it_debug::srcline(1);  	list($function, $paramlist) = it::match('\b(D|ED|EDC|EDX)\s*\((.*)', $src);  	$paramtokens = token_get_all("<?php $paramlist"); |