From 2d2c4c996d660c7279b36e1de8e3d5f31f821be6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 21 Apr 2011 11:36:26 -0700 Subject: [PATCH] [SIGAR-230] bump windows proc_args max to 16k --- src/os/win32/sigar_os.h | 2 +- src/os/win32/wmi.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/win32/sigar_os.h b/src/os/win32/sigar_os.h index e35f38f1..8eda061e 100644 --- a/src/os/win32/sigar_os.h +++ b/src/os/win32/sigar_os.h @@ -43,7 +43,7 @@ /* see apr/include/arch/win32/atime.h */ #define EPOCH_DELTA INT64_C(11644473600000000) -#define SIGAR_CMDLINE_MAX 4096 +#define SIGAR_CMDLINE_MAX 4096<<2 /* XXX: support CP_UTF8 ? */ diff --git a/src/os/win32/wmi.cpp b/src/os/win32/wmi.cpp index a68b5348..bc1019d6 100644 --- a/src/os/win32/wmi.cpp +++ b/src/os/win32/wmi.cpp @@ -28,7 +28,7 @@ #pragma comment(lib, "wbemuuid.lib") #ifndef SIGAR_CMDLINE_MAX -#define SIGAR_CMDLINE_MAX 4096 +#define SIGAR_CMDLINE_MAX 4096<<2 #endif class WMI {