[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-smalltalk] Building GNU Smalltalk-2.3.5 with MinGW

From: Akeroyd, FA \(Freddie\)
Subject: RE: [Help-smalltalk] Building GNU Smalltalk-2.3.5 with MinGW
Date: Tue, 19 Jun 2007 12:11:30 +0100


> You should find out how the problematic path is built (see 
> kernel/ as well as examples/  You can try

> (AbstractNamespace >> #superspace) methodSourceCode fileName

> to see if the bad path is generated by GNU Smalltalk itself, or rather

This gave


I applied the enclosed patch to and that fixed the "make doc" of
the library, but it is not the end of the story as now rebuilding the
Blox documentation fails with invalid paths. The patch does not
make the methodSourceCode filename above correct, it just allows
Smalltalk to handle it in the library case.

I think the cause of the problem is illustrated by running:

(File fullNameFor: 'c:\some\rubbish\c:\windows') printNl!

Which returns


So (Directory exists: 'c:\some\rubbish\c:\windows') will return true. I
believe the Blox doc issue occurs as the paths being built up in the
baseDirs method of the Package are using "Directory exists:" and thus
getting told incorrect information which they then store. 

The root of the problem probably lies with how to treat c: when it is
detected in the "Directory append:" method as bits of a path are passed
to it. In the above example the first c: should indicate the start an
absolute path, but not the second c: as that then leads to an incorrect


Attachment: File.patch
Description: File.patch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]