[ros-diffs] [gedmurphy] 35870: allow the log file to be opened whilst the service is running

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Wed Sep 3 14:38:39 CEST 2008


Author: gedmurphy
Date: Tue Sep  2 10:05:25 2008
New Revision: 35870

URL: http://svn.reactos.org/svn/reactos?rev=35870&view=rev
Log:
allow the log file to be opened whilst the service is running

Modified:
    trunk/reactos/base/services/tcpsvcs/log.c

Modified: trunk/reactos/base/services/tcpsvcs/log.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/log.c?rev=35870&r1=35869&r2=35870&view=diff
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/log.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/log.c [iso-8859-1] Tue Sep  2 10:05:25 2008
@@ -49,7 +49,7 @@
 {
     hLogFile = CreateFileW(lpLogFileName,
                            GENERIC_WRITE,
-                           0,
+                           FILE_SHARE_READ,
                            NULL,
                            OPEN_ALWAYS,
                            FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED,



More information about the Ros-diffs mailing list