2015-09-10 21:31 GMT+02:00 Eliot Miranda <eliot.miranda@gmail.com>:
Hi Nicolai,

    I'm a bit concerned that this is creating drift with the "official" Cog source base at http://www.squeakvm.org/svn/squeak/branches/Cog.  Long filename support for win32 was recently added by Marcel Taumel in May of this year.  Are you tracking that?  How can we keep the sources harmonized?

Yes, I know, and I already asked on the ML if we can take that change or
if it is not possible because we have already other changes (pharos file plugin
provides addition attributes (the file permissions)).
But I got no response, so I tried to adopt Marcels change.

And I only found the change for sqWin32FilePrims.c, but missed the other change
that is necessary in sqWin32Directory.c (and asked on the ML). In the meantime Marcel added this but I could not find
the changed source, only an updated vm.
Is this change already comitted?

I would love if someone else got this working.



On Sun, Aug 23, 2015 at 4:44 AM, Nicolai Hess <nicolaihess@web.de> wrote:
For those who had problems with pharo on windows and github based repositories,
I built a windows vm with support for long paths:


For browsing directories with large paths (FileList or Inspect),
you may need one additional change in the image (But I am not really sure about that) :

    super initialize.
    maxFileNameLength := Smalltalk vm maxFilenameLength ifNil: [ 32767 ].

please test and give feedback.

This wasn't as easy as I thought, and I had to make some more changes
for the file permissions (the stat-functions don't work for files with long paths).
Please test other file/folder operations.


best, Eliot