bug-coreutils
[Top][All Lists]
Advanced

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

Re: truncate-fail-diag failure on Solaris


From: Bruno Haible
Subject: Re: truncate-fail-diag failure on Solaris
Date: Wed, 11 Jun 2008 03:03:46 +0200
User-agent: KMail/1.5.4

Pádraig Brady wrote:
> Solaris 10 gives an ENOTDIR error, while linux gives an EISDIR error.
> I'm not sure what to do in this case. Probably just remove the second
> truncate test in that file altogether.

The test is useful. You could see whether the file name ends in '/' before
you call open() on it, no?

Bruno





reply via email to

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