#28847 [Bgs->Csd]: phpize fails in pfads with a space

From: Date: Tue, 29 Jun 2004 16:05:14 +0000
Subject: #28847 [Bgs->Csd]: phpize fails in pfads with a space
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31338@lists.php.net to get a copy of this message
ID: 28847 User updated by: christian at freemails dot at Reported By: christian at freemails dot at -Status: Bogus +Status: Closed Bug Type: PECL related Operating System: Linux 2.6.5 PHP Version: 4.3.7 New Comment: well, my point of view is this: Unix allow spaces in files/directory/etc. So if there are unsupported you don´t support Unix filesystem-handling. Of course it is not widly used as in Windows. But there is no reason to drop support or don´t support this because it is possible and it is a port of Unix and its clones. Previous Comments: ------------------------------------------------------------------------ [2004-06-20 01:05:36] sas@php.net We generally don't support base paths containing spaces in the Unix build system. Therefore, phpize does not need to support such paths as well. ------------------------------------------------------------------------ [2004-06-19 21:40:37] jan@php.net This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2004-06-19 21:20:16] christian at freemails dot at Description: ------------ phpize seems to be not really round. If the pfad of the work directory constain a space phpize quits work. Reproduce code: --------------- mkdir "/foo bar" cd "/foo bar/" tar -xzf /tmp/python-0.6.tar.gz cd some-pecl-ext-1.0 phpize Actual result: -------------- /usr/bin/phpize: line 60: test: /foo: binary operator expected chmod: cannot access `/foo': No such file or directory chmod: cannot access `bar/python-0.6.0/build/shtool': No such file or directory /usr/bin/phpize: line 61: test: /foo: binary operator expected /usr/bin/phpize: line 1: /foo: No such file or directory /usr/bin/phpize: line 68: -f: command not found ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28847&edit=1

« previous php.pear.dev (#31338) next »