mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
bb041ea5a0
On Windows when REPL history file has the hidden attribute node will fail when trying to open it in 'w' mode. This changes the mode to 'r+'. The file is guaranteed to exists because of earlier open call with 'a+'. Fixes: https://github.com/nodejs/node/issues/5261 PR-URL: https://github.com/nodejs/node/pull/12207 Reviewed-By: James M Snell <jasnell@gmail.com>
0 lines
Plaintext
0 lines
Plaintext