[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix some temp file issues

From: Paul Eggert
Subject: Re: [PATCH] Fix some temp file issues
Date: Sat, 8 Oct 2022 21:23:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 2022-10-08 21:19, Eli Zaretskii wrote:
I meant the "b" part, not the "+" part.  On systems where that changes
the bytestream written to the file, the change might require a
suitable change where we read that stuff.

If I understand things correctly the code was formerly using tmpfile which does use "b", so I figured "b" was fine.

Another way to think about it: GNU 'make' just writes text to the file. On MS-Windows if you're writing text using "b" doesn't a later read by another process work regardless of whether the read uses "b"?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]