Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] read_index_from: remove bogus errno assignments

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:25

Nguyễn Thái Ngọc Duy [off-list ref] writes:
While at it, move die_errno() next to xmmap() call because it's the
mmap's error code that we care about. Otherwise if close(fd); fails,
it could overwrite mmap's errno.
Makes sense and is a sensible fix.

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