bnicholes 02/02/01 10:27:53
Modified: misc/netware start.c
Log:
Added the apr_app_main() stub
Revision Changes Path
1.2 +11 -1 apr/misc/netware/start.c
Index: start.c
===================================================================
RCS file: /home/cvs/apr/misc/netware/start.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- start.c 31 Jan 2002 18:59:58 -0000 1.1
+++ start.c 1 Feb 2002 18:27:53 -0000 1.2
@@ -63,7 +63,17 @@
#include "internal_time.h"
-//static int initialized = 0;
+APR_DECLARE(apr_status_t) apr_app_main(int *argc, char ***argv, char ***env)
+{
+ /* An absolute noop. At present, only Win32 requires this stub, but it's
+ * required in order to move command arguments passed through the service
+ * control manager into the process, and it's required to fix the char*
+ * data passed in from local/wide codepage into utf-8, our internal fmt.
+ *
+ * Win32 declares it's implementation in misc/win32/apr_app.c
+ */
+ return APR_SUCCESS;
+}
APR_DECLARE(apr_status_t) apr_initialize(void)
{