bug-gnulib
[Top][All Lists]
Advanced

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

Re: copy_file_preserving variant that doesn't exit on error?


From: Jim Meyering
Subject: Re: copy_file_preserving variant that doesn't exit on error?
Date: Thu, 12 Jan 2012 13:55:13 +0100

Reuben Thomas wrote:

> On 12 January 2012 02:13, Bruno Haible <address@hidden> wrote:
>>
>> - In copy-file.h declare the right function name.
>
> Ah yes, I must've missed warnings for this, sorry.
>
>> - In the tests I also had to drop the test with /dev/full, since - unlike
>>  /dev/null - this device does not exist everywhere. Ex.: on OpenBSD, NetBSD.
>
> Is it not possible to annotate that test as non-portable instead?
> Seems a pity to lose a test for GNU systems.

You are welcome to restore that test.
Just guard it with a test for existence of /dev/full
so that it is silently skipped when that device does not exist.



reply via email to

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