[racket] Windows to Ubuntu quirk
On Thu, Apr 18, 2013 at 9:23 PM, Sean McBeth <sean.mcbeth at gmail.com> wrote:
> Windows filesystem is not case sensitive. Well, it can be in some weird
> cases, but legacy wise it is not.
>
It is very good at looking like it's case sensitive, layering the
descriptive filenames over the case-insensitive names "under the hood".
Certainly, on the Windows side, I've been
> Unix file systems absolutely are case sensitive. Your error is not
> surprising at all.
>
I'm not particularly surprised, other than what appeared to be "Private" in
Windows really IS "Private" in Linux. 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.
Must I manually build the directories, and copy just the files? Any ideas
of where Windows cruft might hide after the cut and paste?
On Apr 18, 2013 9:15 PM, "Patrick King" <slowthought at gmail.com> wrote:
>
>> I have broken free of Bill Gates' shackles, as I have threatened to do
>> for so long, installing Ubuntu alongside Windows
>> with fairly minimal drama.
>>
>> However, when I copied and pasted my existing source code tree over to
>> the Linux side, code like this...
>>
>> #lang racket/base
>> ; Source/Project/Private/file-a.rkt
>>
>> ; We export a function
>> (provide f)
>>
>> (define (f x) (* x x))
>> ; eof
>>
>> #lang racket/base
>> ; Source/Project/Private/file-b.rkt
>>
>> ; import and use a function
>>
>> (require "file-a.rkt")
>>
>> (f 2)
>> ; eof
>>
>> ... leads to errors like this...
>>
>> /usr/racket/collects/mred/private/snipfile.rkt:324:2: open-input-file:
>> cannot open input file
>> path: /home/pking/Source/Project/private/file-a.rkt
>> system error: No such file or directory; errno=2
>>
>> Note that "Private" has been changed to "private". This only happens
>> within the cut-and-pasted code. The
>> example above works exactly as expected.
>>
>> Are anyone aware of any Windows/Linux file system quirks that account for
>> this behaviour, and how best to fix it?
>>
>> TIA, Pat
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130418/b429999d/attachment-0001.html>