[Vm-dev] Re: [Pharo-dev] issue with large file path on windows
btc at openinworld.com
Mon Aug 24 14:59:25 UTC 2015
On Mon, Aug 24, 2015 at 12:09 AM, Nicolai Hess <nicolaihess at web.de> wrote:
> And If you want to review the changes:
I don't have a Windows machine to test on, but I perused the changes.
one spelling defect ../platforms/win32/vm/sqWin32.h, line 452 "functiosn"
Now my curiosity is aroused regarding sqFileDeleteNameSize() in .
Where does its parameter "char* fileNameIndex" get its null termination?
I can only guess maybe the following definition in primitiveFileDelete.st 
<var: 'nameIndex' type: 'char *'>
automatically appends a null to the Smalltalk string. My understanding
is that the Smalltalk string's internal representation is not null
I ask since the sqFileDeleteNameSize()'s comment "convert the file
name into a null-terminated C string" indicates the null is added by
MultiByteToWideChar(), but  indicates that is not true -- that the
output of MultiByteToWideChar() is only null terminated if the input
is null terminated.
Also, anyone know if the concern "BIG WARNING about the return value
and the `cbMultiByte` parameter" expressed near the end of  is
More information about the Vm-dev