# [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/Zend/tests/bug52041.phpt branches/PHP_5_4/Zend/zend_API.c branches/PHP_5_4/ext/standard/tests/file/005_variation2-win32.phpt branches/PHP_5_4/ext/standard/tests/file/copy_variation3-win32.phpt branche

- Thread: https://externals.io/message/55278
- Original archive: https://news-web.php.net/php.internals/55278
- Started by Hannes Magnusson on 2011-09-07T12:41:45+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #55278 — Hannes Magnusson — 2011-09-07T12:41:45+00:00

URL: https://externals.io/message/55278#55278

> pajoye                                   Wed, 07 Sep 2011 12:33:22 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=316345
>
> Log:
> - reject paths with trainling spaces using the very good new zend arg
>
> Changed paths:
>    _U  php/php-src/branches/PHP_5_4/Zend/tests/bug52041.phpt
>    U   php/php-src/branches/PHP_5_4/Zend/zend_API.c


Windows can mount other filesystems that do allow folders to be called
" ". Please revert this.

-Hannes

---

## #55279 — Gustavo Lopes — 2011-09-07T13:28:01+00:00

URL: https://externals.io/message/55278#55279 · In reply to: #55278

Em Wed, 07 Sep 2011 13:41:45 +0100, Hannes Magnusson  
<hannes.magnusson@gmail.com> escreveu:

> 
> > […]
>
>
> Windows can mount other filesystems that do allow folders to be called
> " ". Please revert this.
>

You don't need other filesystems. I tried (where C: is a NTFS volume):

CreateDirectoryW(L"\\\\?\\C:\\users\\gustavo.lopes\\ ",NULL);

and it created a directory with " " as its name.


-- 
Gustavo Lopes
