[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MinGW vs. c-api.test

From: Ludovic Courtès
Subject: Re: MinGW vs. c-api.test
Date: Thu, 12 Jun 2014 10:29:24 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Eli Zaretskii <address@hidden> skribis:

>> From: address@hidden (Ludovic Courtès)
>> Cc: address@hidden
>> Date: Wed, 11 Jun 2014 14:37:53 +0200
>> OK, thanks for the explanation.
>> Below is the fix I just pushed.
>> [...]
>> +(define %null-device
>> +  ;; On Windows (MinGW), /dev/null does not exist and we must instead
>> +  ;; use NUL.  Note that file system procedures automatically translate
>> +  ;; /dev/null, so this variable is only useful for shell snippets.
>> +  (if (file-exists? "/dev/null")
>> +      "/dev/null"
>> +      "NUL"))
> Not sure this is a good idea: I can create a file /dev/null on
> Windows, but that doesn't mean it is my null device.

Yes, but using %host-type isn’t perfect either, no?  What would you


reply via email to

[Prev in Thread] Current Thread [Next in Thread]