search for: event_sourc

Displaying 12 results from an estimated 12 matches for "event_sourc".

Did you mean: event_source
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
> -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Berger, Daniel > Sent: Wednesday, May 17, 2006 12:07 PM > To: Development and ideas for win32utils projects > Subject: Re: [Win32utils-devel] Need a little help with the > pureRubywin32-eventlog > > > >
2006 May 17
1
Need a little help with the pure Ruby win32-eventlog
Hi all, I''m working on the EventLog#read method for the pure Ruby version of win32-eventlog, but I''m stuck on the get_description private method. Here are the problems: * I don''t think I''m advancing the EVENTLOGRECORD properly between iterations. Take a look at the end of the "while dwread > 0" loop. I get some records, but not all of them.
2020 Aug 18
1
Re: [PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...ndation, Inc. > + * All rights reserved. This one makes sense; you are lifting it straight out of another source verbatim. > +++ b/common/replacements/openlog.c > +#ifdef WIN32 > + > +/* Replacement openlog for Win32. */ > + > +#include <windows.h> > + > +HANDLE event_source = INVALID_HANDLE_VALUE; > + > +void > +openlog (const char *ident, int option, int facility) > +{ > + event_source = RegisterEventSource (NULL, ident); > +} Ah, so if I understand, the message catalog compilation matters when replacing openlog? Cygwin has openlog, and thus do...
2020 Aug 18
0
[PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...SIBILITY OF + * SUCH DAMAGE. + */ + +#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <stdarg.h> + +#ifndef HAVE_OPENLOG_H + +#include "syslog.h" + +#ifdef WIN32 + +/* Replacement openlog for Win32. */ + +#include <windows.h> + +HANDLE event_source = INVALID_HANDLE_VALUE; + +void +openlog (const char *ident, int option, int facility) +{ + event_source = RegisterEventSource (NULL, ident); +} + +#else /* !WIN32 */ +#error "no replacement openlog is available on this platform" +#endif + +#endif /* !HAVE_SYSLOG_H */ diff --git a/commo...
2020 Aug 20
0
[PATCH nbdkit 01/13] common/replacements: Replace missing functions using LIBOBJS.
...SIBILITY OF + * SUCH DAMAGE. + */ + +#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <stdarg.h> + +#ifndef HAVE_OPENLOG_H + +#include "syslog.h" + +#ifdef WIN32 + +/* Replacement openlog for Win32. */ + +#include <windows.h> + +HANDLE event_source = INVALID_HANDLE_VALUE; + +void +openlog (const char *ident, int option, int facility) +{ + event_source = RegisterEventSource (NULL, ident); +} + +#else /* !WIN32 */ +#error "no replacement openlog is available on this platform" +#endif + +#endif /* !HAVE_SYSLOG_H */ diff --git a/commo...
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2010 Jan 24
13
Where can I find a list of events for each widget?
I''ve searched the documentation like crazy but I can''t seem to find the events for each of the widgets. Any info on this would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2019 Jan 14
6
[PATCH nbdkit incomplete 0/5] Port to Windows.
This is an incomplete port to Windows. Currently the server compiles and starts up successfully, but goes into an infinite loop when you connect to it. Nevertheless I think the approach is ready for feedback. This being Windows the changes go quite deep. Rich.
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in
2013 Jun 03
0
[virtio_blk] BUG: unable to handle kernel paging request at ff7f5784
...vice rttest5 [ 258.974814] device: 'rttest6': device_add [ 258.976149] bus: 'rttest': add device rttest6 [ 259.012125] device: 'rttest7': device_add [ 259.015964] bus: 'rttest': add device rttest7 [ 259.039626] Initializing RT-Tester: OK [ 259.124888] bus: 'event_source': registered [ 259.126426] device: 'breakpoint': device_add [ 259.139294] bus: 'event_source': add device breakpoint [ 259.164820] device: 'software': device_add [ 259.166314] bus: 'event_source': add device software [ 260.708818] VFS: Disk quotas dquot_6.5...
2013 Jun 03
0
[virtio_blk] BUG: unable to handle kernel paging request at ff7f5784
...vice rttest5 [ 258.974814] device: 'rttest6': device_add [ 258.976149] bus: 'rttest': add device rttest6 [ 259.012125] device: 'rttest7': device_add [ 259.015964] bus: 'rttest': add device rttest7 [ 259.039626] Initializing RT-Tester: OK [ 259.124888] bus: 'event_source': registered [ 259.126426] device: 'breakpoint': device_add [ 259.139294] bus: 'event_source': add device breakpoint [ 259.164820] device: 'software': device_add [ 259.166314] bus: 'event_source': add device software [ 260.708818] VFS: Disk quotas dquot_6.5...