Re: [PATCH 3/4] bisect: simplify the add of new bisect terms
- From
- Louis-Alexandre Stuber <stuberl@ensimag.grenoble-inp.fr>
- Date
- Jun 10, 2015, 09:41 UTC
- Message-ID
- <2070840481.381260.1433929304815.JavaMail.zimbra@ensimag.grenoble-inp.fr>
- In-Reply-To
- <vpqk2vcat2t.fsf@anie.imag.fr>
But ENOENT is not a normal case at all. Should we not treat it the same way as other fopen() errors ? (either going on with default case or returning an error)
Would :
> if (!fp) {
> die("could not read file '%s': %s",
> filename, strerror(errno));
> } else {be ok ?