cvs commit: hugs98/libraries Prelude.hs hugs98/src hugs.c input.c prelude.h hugs98/src/unix convert_libraries

sof 2002/09/08 20:48:20 PDT Modified files: libraries Prelude.hs src hugs.c input.c prelude.h src/unix convert_libraries Log: PrelImpl -> Hugs.Prelude [The original idea was to also allow for the possibility of using PrelImpl without also embracing the hierarchical libraries, but it doesn't seem worth it.] Revision Changes Path 1.2 +1 -1 hugs98/libraries/Prelude.hs 1.89 +3 -3 hugs98/src/hugs.c 1.50 +3 -3 hugs98/src/input.c 1.38 +4 -4 hugs98/src/prelude.h 1.21 +3 -3 hugs98/src/unix/convert_libraries

On Sun, Sep 08, 2002 at 08:48:20PM -0700, Sigbjorn Finne wrote:
sof 2002/09/08 20:48:20 PDT
Modified files: libraries Prelude.hs src hugs.c input.c prelude.h src/unix convert_libraries Log: PrelImpl -> Hugs.Prelude
In this line in hugs.c: if ( ( prelLocation = findMPathname(NULL, STD_PRELUDE_IMPL, hugsPath)) ) { STD_PRELUDE_IMPL is a string literal containing a dot. find1() attempts to change the dot into a slash and back, which is illegal, and punished on my machine. Arguably a bug in find1(), not triggered elsewhere.

On a completely fresh copy of Hugs, I'm getting this error when I make install_libraries_ffi ./ffihugs -P'{Hugs}/libraries:{Hugs}/oldlib:{Hugs}/lib/hugs' +G +L"../libraries/Hugs/Storable_aux.c" Hugs.Storable runhugs: Error occurred Reading file "/home/reid/local/lib/hugs/libraries/Prelude.hs": Reading file "/home/reid/local/lib/hugs/libraries/Hugs/Prelude.hs": ERROR "/home/reid/local/lib/hugs/libraries/Hugs/Prelude.hs" - Module "Prelude" recursively imports itself make: *** [install_libraries_ffi] Error 1 There's no urgency to fixing this for me - I shouldn't even be playing with Hugs at the moment... A

Fixed now, I believe.
--sigbjorn
----- Original Message -----
From: "Alastair Reid"
On a completely fresh copy of Hugs, I'm getting this error when I
make install_libraries_ffi
./ffihugs -P'{Hugs}/libraries:{Hugs}/oldlib:{Hugs}/lib/hugs' +G
+L"../libraries/Hugs/Storable_aux.c" Hugs.Storable
runhugs: Error occurred Reading file "/home/reid/local/lib/hugs/libraries/Prelude.hs": Reading file "/home/reid/local/lib/hugs/libraries/Hugs/Prelude.hs": ERROR "/home/reid/local/lib/hugs/libraries/Hugs/Prelude.hs" - Module "Prelude" recursively imports itself
make: *** [install_libraries_ffi] Error 1
There's no urgency to fixing this for me - I shouldn't even be playing with Hugs at the moment...
A
participants (4)
-
Alastair Reid
-
Ross Paterson
-
Sigbjorn Finne
-
Sigbjorn Finne