Re: [PHP-DEV] Path length for files on NTFS

2009-01-18 Thread Kalle Sommer Nielsen
2009/1/16 Pierre Joye : > hi > > On Fri, Jan 16, 2009 at 6:27 PM, Karsten Dambekalns wrote: > >> Oe example with 229 characters: >> /Users/karsten/Sites/typo3v5/Data/Temporary/6e7991cd3e3f10e110df4a26825c1f8c/_www/Cache/Testing/Tags/%CLASS%F3_Widget_Persistence_MessageQueuePersistenceAspect/FLOW3_

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Pierre Joye
On Fri, Jan 16, 2009 at 7:08 PM, Cristian Rodríguez wrote: > Pierre Joye escribió: > >> which is defined at >> compile time > > can also be obtained at runtime using pathconf(3) Yes, (and GetVolumeInfo on win), but then we have to allocate the path instead of using static size, in many places. C

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Cristian Rodríguez
Pierre Joye escribió: > which is defined at > compile time can also be obtained at runtime using pathconf(3) -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & De

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Pierre Joye
hi On Fri, Jan 16, 2009 at 6:27 PM, Karsten Dambekalns wrote: > Oe example with 229 characters: > /Users/karsten/Sites/typo3v5/Data/Temporary/6e7991cd3e3f10e110df4a26825c1f8c/_www/Cache/Testing/Tags/%CLASS%F3_Widget_Persistence_MessageQueuePersistenceAspect/FLOW3_Reflection-F3_Widget_Persistence

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Karsten Dambekalns
Hi. On 16.01.2009 17:12 Uhr, Pierre Joye wrote: The problem is exactly the same on any OS, only the size varies. The limit is not higher either. What do you use as naming for your entries? Oe example with 229 characters: /Users/karsten/Sites/typo3v5/Data/Temporary/6e7991cd3e3f10e110df4a26825c1

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Pierre Joye
On Fri, Jan 16, 2009 at 5:03 PM, Pierre Joye wrote: >> Well, not really. Our names include some information, so hashing isn't >> really an option. For now we'll probably just skip supporting Windows. > > The problem is exactly the same on any OS, only the size varies. The > limit is not higher ei

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Pierre Joye
On Fri, Jan 16, 2009 at 3:53 PM, Karsten Dambekalns wrote: > Hi Pierre. > > On 16.01.2009 14:33 Uhr, Pierre Joye wrote: >>> >>> While NTFS supports path lengths of up to 32k characters, >> >> By the way, this limit is approximative. > > In what way? > >> There is no plan yet to increase this value

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Karsten Dambekalns
Hi Pierre. On 16.01.2009 14:33 Uhr, Pierre Joye wrote: While NTFS supports path lengths of up to 32k characters, By the way, this limit is approximative. In what way? There is no plan yet to increase this value. The main problem is that the maximum length of a path is volume dependent, not

Re: [PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Pierre Joye
hi, On Fri, Jan 16, 2009 at 11:42 AM, Karsten Dambekalns wrote: > Recently someone using our software told us about problems with generated > filenames being too long. I did some research on the net and some quick > tests on Vista Business, and it seems there is indeed still a problem. > > While

[PHP-DEV] Path length for files on NTFS

2009-01-16 Thread Karsten Dambekalns
Hi everyone. I posted this on php.windows a two days ago without a response. Maybe someone here can help me. Recently someone using our software told us about problems with generated filenames being too long. I did some research on the net and some quick tests on Vista Business, and it seem