About Windows compatibility: Is it the GUI/console mode issue, or is it something specific wrt the patch?
About the command line buffer: A quick fix would be to use ARG_MAX for Linux/OS X. Windows has 8191 as a limit in cmd.exe and 32767 for CreateProcess. Not sure what the macros are called.
However, hogging 128 kB seems a bit wasteful. The alternative is to allocate new buffers dynamically. Is that something that would increase the chances of getting the patch approved, or are there other blocking issues?
About Windows compatibility: Is it the GUI/console mode issue, or is it something specific wrt the patch?
About the command line buffer: A quick fix would be to use ARG_MAX for Linux/OS X. Windows has 8191 as a limit in cmd.exe and 32767 for CreateProcess. Not sure what the macros are called.
However, hogging 128 kB seems a bit wasteful. The alternative is to allocate new buffers dynamically. Is that something that would increase the chances of getting the patch approved, or are there other blocking issues?