[racket] Windows to Ubuntu quirk

From: Patrick King (slowthought at gmail.com)
Date: Fri Apr 19 08:01:31 EDT 2013

On Fri, Apr 19, 2013 at 12:36 AM, Eli Barzilay <eli at barzilay.org> wrote:

> Three hours ago, Patrick King wrote:
> > It really was a
> > simple cut & paste of the whole directory tree, and the use of case
> > higher up the tree doesn't seem to cause any problem.
> Windows is "case preserving" which means that it does keep the proper
> names, but file access is insensitive.  This means that it's really
> best to treat files as case sensitive and uses the proper names in
> code too, otherwise you risk code breaking when you switch to a case
> sensitive system...

And that was exactly the problem, only it was hidden in a file that I wasn't
directly looking at. I had used  '(require "private/...") instead of
'(require "Private/...") in a file *required *by the one I was looking at
(yes, I
do need to work on semi-circular dependencies in this project).
Windows was silently ignoring the typo. Linux does not.

So, bottom line, transferring the code to Linux really was easy. Finding
the lurking bugs that Windows tolerated, slightly less so.

As always, thanks for the clues, guys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130419/3b9903a0/attachment.html>

Posted on the users mailing list.