[gambit-list] null device on windows

Mikael mikael.rcv at gmail.com
Mon Apr 15 15:24:58 EDT 2013


Hi Ralph,

The nonsyntactictower version of BH is the real deal for now in the sense
that it's been thoroughly tested an tried in practical use.

The syntactictower version has quite not got that, though it may very well
deliver for your purposes.

There will be updates with BH.

Brgds

2013/4/15 Ralph Moritz <ralph.moeritz at outlook.com>

> On Mon, 15 Apr 2013 18:29:16 +0200, Marc Feeley <feeley at iro.umontreal.ca>
> wrote:
>
> > On 2013-04-12, at 6:29 PM, Ralph Moritz <ralph.moeritz at outlook.com>
> > wrote:
> ...
> >> This brings me to Gambit, via Black Hole. BH contains some code (in
> >> compile-load.scm and lib.scm) that assumes `/dev/null' exists. This is
> >> obviously not true on Windows where instead we have `NUL'. It's easy
> >> enough to modify BH accordingly but the problem remains that Gambit
> >> tries to normalize all paths passed to `compile-file-to-target' so we
> >> end up with `<absolute path to cwd>\NUL' instead of just `NUL'. This
> >> essentially prevents us from using the null device as input to
> >> `compile-file-to-target' on Windows
> ...
> > There was an issue with opening UNC filenames (Universal Naming
> > Convention) on Windows that I have now fixed.  So now it is possible to
> > use \\.\nul for the nul device (so "/dev/null" should be replaced with
> > "\\\\.\\nul" on Windows).  Note that the path-expansion algorithm will
> > map "nul" to "<cwd>/nul" so a (open-output-file "nul") will open a local
> > file called "nul".  This consistency with Unix is a good thing.
>
> Awesome, thanks a lot for fixing this. Being able to access the null device
> on Windows means I can now try to get Black Hole trunk working on Windows.
>
> --
> Using Opera's mail client: http://www.opera.com/mail/
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130415/dda1b27c/attachment.htm>


More information about the Gambit-list mailing list