cvs: phpdoc /scripts file-entities.php.in

From: Date: Thu, 08 Jan 2009 17:09:18 +0000
Subject: cvs: phpdoc /scripts file-entities.php.in
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2992@lists.php.net to get a copy of this message
rquadling Thu Jan 8 17:09:18 2009 UTC Modified files: /phpdoc/scripts file-entities.php.in Log: Better test for Non windows. http://cvs.php.net/viewvc.cgi/phpdoc/scripts/file-entities.php.in?r1=1.62&r2=1.63&diff_format=u Index: phpdoc/scripts/file-entities.php.in diff -u phpdoc/scripts/file-entities.php.in:1.62 phpdoc/scripts/file-entities.php.in:1.63 --- phpdoc/scripts/file-entities.php.in:1.62 Thu Jan 8 11:55:54 2009 +++ phpdoc/scripts/file-entities.php.in Thu Jan 8 17:09:18 2009 @@ -17,7 +17,7 @@ | Gabor Hojtsy <goba@php.net> | +----------------------------------------------------------------------+ - $Id: file-entities.php.in,v 1.62 2009/01/08 11:55:54 rquadling Exp $ + $Id: file-entities.php.in,v 1.63 2009/01/08 17:09:18 rquadling Exp $ */ /** @@ -46,7 +46,7 @@ // ......:ARGUMENT PARSING:..................................................... -$not_windows = !!strcasecmp('WIN',PHP_OS); +$not_windows = (0 < strcasecmp('WIN',PHP_OS)); // The dir for PHP. If the cygwin wasn't compiled on Cygwin, the path needs to be stripped. $out_dir = ($not_windows || !strcasecmp('CYGWIN',php_uname()))? '@WORKDIR@' : abs_path(strip_cygdrive('@WORKDIR@'));

« previous php.doc.cvs (#2992) next »