From c61d6e14c08fec7658dbdc33c16b5feeece08fbf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 29 Dec 2016 03:32:05 +0300 Subject: Add process_exit --- butl/fdstream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl/fdstream.cxx') diff --git a/butl/fdstream.cxx b/butl/fdstream.cxx index 6ebfaf2..8ca2422 100644 --- a/butl/fdstream.cxx +++ b/butl/fdstream.cxx @@ -685,7 +685,7 @@ namespace butl of |= mode (fdopen_mode::binary) ? _O_BINARY : _O_TEXT; // According to Microsoft _sopen() should not change the permissions of an - // existing file. Meanwhile it does if we pass them (reproduced on Windows + // existing file. However it does if we pass them (reproduced on Windows // XP, 7, and 8). And we must pass them if we have _O_CREATE. So we need // to take care of preserving the permissions ourselves. Note that Wine's // implementation of _sopen() works properly. -- cgit v1.1