From: Duy Nguyen Date: Sun, 21 Jan 2018 11:52:08 GMT Subject: Re: [PATCH] dir.c: print correct errno when opendir() fails Message-ID: In-Reply-To: On Sat, Jan 20, 2018 at 4:09 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> The call invalidate_directory() between opendir() and warning_errno() in >> theory could make some system calls and change errno. Prevent that by >> warning immediately after opendir(). >> >> Signed-off-by: Nguyễn Thái Ngọc Duy >> --- >> This is on top of nd/fix-untracked-cache-invalidation which is now on >> 'next'. Sorry I waited too long to send the replacement and it's now >> too late. > > Well, we'll see a rewind of 'next' soonish anyway, so you can just > tell me to tentatively kick it back to 'pu' to be replaced with a > reroll if you prefer. Please kick it back to 'pu'. -- Duy