Re: cvs: php-src /ext/standard/tests/file tempnam_variation3.phpt
| From: | Antony Dovgal | Date: | Thu, 08 Nov 2007 14:39:51 +0000 |
| Subject: | Re: cvs: php-src /ext/standard/tests/file tempnam_variation3.phpt | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-47072@lists.php.net to get a copy of this message | ||
On 08.11.2007 17:11, Jani Taskinen wrote:
> Antony Dovgal kirjoitti:
>> On 08.11.2007 13:26, Jani Taskinen wrote:
>>> It should never be anything else but that error! If the file exists before
>>> running the test then there's something wrong with the --CLEAN-- part.
>>
>> PHP in ZTS mode fails earlier, on virtual_file_ex(), so it doesn't even call unlink().
>> The error message is different in this case.
>
> Well, isn't that a bug? How does it fail in ZTS mode?
No, I don't think it's a bug, virtual_file_ex() is expected to fail with empty path
("").
The errmsg says "Inappropriate ioctl for device".
--
Wbr,
Antony Dovgal