From: Linus Torvalds Date: Fri, 28 Oct 2016 16:13:41 GMT Subject: Re: [PATCH v3 2/3] sha1_file: open window into packfiles with O_CLOEXEC Message-ID: In-Reply-To: On Fri, Oct 28, 2016 at 4:11 AM, Johannes Schindelin wrote: > > You guys. I mean: You guys! You sure make my life hard. A brief look at > mingw.h could have answered your implicit question: So here's what you guys should do: - leave O_NOATIME damn well alone. It works. It has worked for 10+ years. Stop arguing against it, people who do. - get rid of all O_CLOEXEC games. They don't work. If you want to close file descriptors at execve(), you - gasp - close the file descriptor before doing an execve. So O_CLOEXEC or FD_CLOEXEC is broken. DO NOT BREAK O_NOATIME JUST TO ADD COMPLETELY NEW BREAKAGE. Linus