[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-zile] Re: [PATCH] Check `fchmod' and `fchown' return value.
From: |
Giuseppe Scrivano |
Subject: |
[Bug-zile] Re: [PATCH] Check `fchmod' and `fchown' return value. |
Date: |
Tue, 02 Mar 2010 23:04:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
Reuben Thomas <address@hidden> writes:
> I believe Emacs does not report the error.
Yes, emacs doesn't report it.
> I think it will be better to handle both functions in the same way as
> they are complementary to each other.
>
> I am happy to live with the warning: in this case, it is misguided: I really
> don't care if the operation fails, as I have no Plan B!
AFAICS, there is no decent way to disable it, even a cast to void will not
work, only a disgusting "if (....){};" does. I think you don't want it
in the zile code :-)
Cheers,
Giuseppe