Re: [PATCH 3/4] bisect: simplify the add of new bisect terms
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 10, 2015, 08:03 UTC
- Message-ID
- <vpqk2vcat2t.fsf@anie.imag.fr>
- In-Reply-To
- <1926405730.374352.1433920537226.JavaMail.zimbra@ensimag.grenoble-inp.fr>
Louis-Alexandre Stuber <stuberl@ensimag.grenoble-inp.fr> writes:
Show 5 quoted lines
>> That is very different from ENOENT, which is an expected error when >> you are not using a customized terms. > > But in the current state, we are going to create bisect_terms even if > the bisection is in bad/good mode.
Which means that in normal cases, you'll either succeed to open it, or get ENOENT. We're talking about unexcepted cases (you don't have permission to read it because it's not your file, because you messed up with a chmod, or whatever reason).
I don't expect a tool to consider that an unreadable file is equivalent to no file at all. If something's wrong, as a user, I expect a helpful message telling me what's wrong, to give me a clue on how to solve it.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/