Thread (8 messages) flat view 8 messages, 3 authors, 2017-02-17

Re: Confusing git messages when disk is full.

From: Jeff King <hidden>
Date: 2017-02-16 16:44:09

Possibly related (same subject, not in this thread)

On Thu, Feb 16, 2017 at 11:10:18AM +0100, Andreas Schwab wrote:
quoted
quoted
	int xfclose(FILE *fp)
	{
		return ferror(fp) | fclose(fp);
	}
Yes, that's exactly what I had in mind (might be worth calling out the
bitwise-OR, though, just to make it clear it's not a typo).
Since the order of evaluation is unspecified, it would be better to
force sequencing ferror before fclose.
Good point. Arguably the call in tempfile.c is buggy.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help