file name letters

Serge D. Mechveliani mechvel at botik.ru
Wed Sep 5 03:01:35 EDT 2007


Dear GHC users and developers,

there has occured a curious case with file name letters. 
One user has built the  docon library  application (in Haskell) 
on  
   MacOS X 10.4  +  ghc-6.6.1.

And making the test program has failed due to the presence of the file

  linalg.hs

in the directory of the testing modules for DoCon.
This file is not needed for this docon release, it is a reserve. I set 
its name in the lower case letters in order for GHC to ignore it.

I test DoCon only in Linux, and have not access to MacOS.
Thanks to  Christian Maeder <Christian.Maeder at dfki.de>,
he noticed that MacOS ignores the  letter case  in the file names!
When the commands 
                  cd demotest 
                  ghc ... --make Main

run on MacOS, ghc suddenly touches the file  linalg.hs  -- for some reason
(and there also exists  LinAlg  in the library built).   

All right, I shall readily fix this `bug'. 

But out of curiosity, who's bug is this: of GHC, DoCon, or MacOS ?
Is the file name letters a matter of Haskell-98 ? 
Do the GHC docs mention the question of the letter case in the file names?

Regards,

-----------------
Serge Mechveliani
mechvel at botik.ru


More information about the Glasgow-haskell-users mailing list