On 2022-10-08 00:14, Eli Zaretskii wrote:
tmpfile uses "wb+" (POSIX requires this) and we should be consistent in
all the paths that create temporary FILE *. The attached patch adds a
comment about this.
I don't remember: where is this temporary file read?

It's read by a different process (fork+exec), so it doesn't matter for 'make' now whether it uses "w+" or "w". It matters only for possible future changes to 'make' later, assuming we ever change other parts of 'make' to sometimes need read access via the same FILE *.

Reply via email to