Bug in file-name imports?
John Hughes
john.hughes@swipnet.se
Sun, 16 Dec 2001 12:14:14 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C1862B.2DA6B3E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The way a filename is interpreted in an import, such as
import "src/M"
has changed under the December 2001 version of hugs. Previously, the =
filename was interpreted relative to the location of the importing =
module. That seems no longer to be the case (although I'm not sure where =
hugs does look nowadays).
As a result, it's now impossible to load Fran, which places a few =
"public" modules in the directory you add to your path, and then loads =
many more from the src subdirectory. The idea is to avoid cluttering the =
module name space with all the internal modules.
Is this a deliberate change? I didn't find any information on it in the =
notes on the new release, so I assume it's a bug.
------=_NextPart_000_0005_01C1862B.2DA6B3E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>The way a filename is interpreted in an import, such =
as</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> import "src/M"</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>has changed under the December 2001 version of hugs. =
Previously, the filename was interpreted relative to the location of the =
importing module. That seems no longer to be the case (although I'm not =
sure=20
where hugs does look nowadays).</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>As a result, it's now impossible to load Fran, which =
places a=20
few "public" modules in the directory you add to your path, and then =
loads many=20
more from the src subdirectory. The idea is to avoid cluttering the =
module name=20
space with all the internal modules.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Is this a deliberate change? I didn't find any =
information on=20
it in the notes on the new release, so I assume it's a=20
bug.</FONT></DIV></BODY></HTML>
------=_NextPart_000_0005_01C1862B.2DA6B3E0--