[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: attribute warn_unused_result
From: |
Paul Eggert |
Subject: |
Re: attribute warn_unused_result |
Date: |
Fri, 04 Feb 2011 16:11:36 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
On 02/04/11 08:38, Eli Zaretskii wrote:
> Anyway, am I the only one who uses this version of Ubuntu?
No, I have observed the problem when I built Emacs on Ubuntu,
and it is a real annoyance. This was on Ubuntu 10.10, the current
stable version.
By the way, I just now looked at one of the remaining instances
of this warning, a call to chdir whose return value is ignored,
and I now think it's a bug. The bug is hard to trigger, but I'm
pretty sure I can exploit it to (say) unexpectly remove files in
one's home directory.
Is there ever a good reason to ignore the return value from
chdir? If not, we should do a sweep of the code and
fix all of these.
Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/03
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/03
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/04
- Re: attribute warn_unused_result, Tom Tromey, 2011/02/04
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/04
- Re: attribute warn_unused_result, Tom Tromey, 2011/02/04
- Re: attribute warn_unused_result,
Paul Eggert <=
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/05
- Message not available
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/05
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/05
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/06
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/06
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/06
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/06
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/06
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/06
Re: attribute warn_unused_result, Stefan Monnier, 2011/02/04