]> sourceware.org Git - newlib-cygwin.git/commitdiff
* syslog.cc (syslog): Add users SID to NT syslog entry.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 17 Nov 2000 11:30:14 +0000 (11:30 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 17 Nov 2000 11:30:14 +0000 (11:30 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/syslog.cc

index 0e156361db06a437b74d9e1d77ce4bcf2ff1f8e8..73ae6856af2a93819a9a92aa15fe1ed3d478e6ca 100644 (file)
@@ -1,3 +1,7 @@
+Fri Nov 17 12:28:00 2000  Corinna Vinschen <corinna@vinschen.de>
+
+       * syslog.cc (syslog): Add users SID to NT syslog entry.
+
 Thu Nov 16 15:59:58 2000 Bradley A. Town <townba@pobox.com>
 
        * fhandler_console.cc: New member variable `dwBufferSize' for `info'.
index 233c8916e055c9fdc4fddc4cc5d07926baeca670..d0dda8b75e15b5b2d6e8f90b6ab48f8507413a90 100644 (file)
@@ -17,6 +17,7 @@ details. */
 #include "fhandler.h"
 #include "dtable.h"
 #include "cygerrno.h"
+#include "cygheap.h"
 #include "thread.h"
 
 /* FIXME: These should probably be in the registry. */
@@ -348,7 +349,7 @@ syslog (int priority, const char *message, ...)
            return;
          }
        ReportEventA (hEventSrc, eventType, 0, 0,
-                     NULL, 1, 0, msg_strings, NULL);
+                     cygheap->user.sid (), 1, 0, msg_strings, NULL);
        DeregisterEventSource (hEventSrc);
       }
     else
This page took 0.037709 seconds and 5 git commands to generate.