Re: [PATCH] Next rev of Windows service support (Feb 27)
From: Arlie Davis <adavis_at_stonestreetone.com>
Date: 2006-02-28 16:36:45 CET
> > +static void WINAPI winservice_service_main(DWORD argc, LPTSTR* argv)
Ok.
> > +svn_error_t* winservice_start()
Ok. Seems a rather low priority, neh?
[..]
> +void winservice_stop(DWORD exit_code)
main() calls it *indirectly*. The comment is meant to indicate
Also, the intent of the design was that main() would call
> +#include <arch/win32/apr_arch_networkio.h>
It's necessary for the apr_os_get_sock call. I tried removing
> +
Guaranteed to be 0 (NULL) by ANSI C. However, if you want to add
> APR doesn't free memory on apr_socket_close(), memory freed when pool
The current implementation is guaranteed to avoid all such issues (when
Ivan, Branko - Do you want me to make these edits and resubmit the patch,
-- arlie
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.