[Top][All Lists]
[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
- truncate-fail-diag failure on Solaris, Bruno Haible, 2008/06/10
- Re: truncate-fail-diag failure on Solaris, Pádraig Brady, 2008/06/10
- Re: truncate-fail-diag failure on Solaris,
Bruno Haible <=
- Re: truncate-fail-diag failure on Solaris, Jim Meyering, 2008/06/11
- Re: truncate-fail-diag failure on Solaris, Bruno Haible, 2008/06/11
- Re: truncate-fail-diag failure on Solaris, Jim Meyering, 2008/06/12
- Re: truncate-fail-diag failure on Solaris, Bruno Haible, 2008/06/12
- Re: truncate-fail-diag failure on Solaris, Jim Meyering, 2008/06/12