[GRASS-dev] Re: testing native winGRASS

Moritz Lennert mlennert at club.worldonline.be
Mon Mar 19 18:09:39 EDT 2007


On Mon, March 19, 2007 17:02, Glynn Clements wrote:
>
> Moritz Lennert wrote:
>
>>  > Hmm. We might want a function which returns the name of the
>> platform's
>>  > null device (i.e. /dev/null on Unix, NUL: on Windows).
>>
>> Would this just be a function returning 'NUL' or '/dev/null' as a
>> string, or do we have to get the name of the null device from the system
>> ?
>
> No, it would just be returning a literal string, conditionalised upon
> "#ifdef __MINGW32__".

First novice attempt attached.

Moritz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nulldevice.c
Type: text/x-csrc
Size: 695 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20070319/007df8b2/nulldevice.bin


More information about the grass-dev mailing list