Write and NotebookEdit re-read the file right before writing to avoid clobbering changes.
What's wrong with this entry?
Both tools now hold an open handle, read the current contents and re-check them immediately before the write lands, narrowing the window in which a file could change between being read and being overwritten.
- the handle is closed once the write completes
- applies to every Write and NotebookEdit call, with no setting involved
recheckBeforeWrite
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.242
PDF reads return the document and page images
Both mention file tool
-
v2.1.246
Read separates the file it opens from the file it reports
Both mention file tool
-
v2.1.246
Write results say when content was replaced without showing a diff
Both mention file tool