https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1eca6258393f5a3c758c3…
commit 1eca6258393f5a3c758c3aa30e2c668a66e8d510
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun May 20 22:38:48 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun May 20 22:39:21 2018 +0200
[CONUTILS] Remove old code; modify an informative note.
---
sdk/lib/conutils/outstream.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/sdk/lib/conutils/outstream.c b/sdk/lib/conutils/outstream.c
index 645452f3ef..d884c92334 100644
--- a/sdk/lib/conutils/outstream.c
+++ b/sdk/lib/conutils/outstream.c
@@ -49,13 +49,11 @@
#include "stream_private.h"
-// #define RC_STRING_MAX_SIZE 4096
+// Also known as: RC_STRING_MAX_SIZE, MAX_BUFFER_SIZE (some programs:
+// wlanconf, shutdown, set it to 5024), OUTPUT_BUFFER_SIZE (name given
+// in cmd/console.c), MAX_STRING_SIZE (name given in diskpart) or
+// MAX_MESSAGE_SIZE (set to 512 in shutdown).
#define CON_RC_STRING_MAX_SIZE 4096
-// #define MAX_BUFFER_SIZE 4096 // Some programs (wlanconf, shutdown) set it to
5024
-// #define OUTPUT_BUFFER_SIZE 4096 // Name given in cmd/console.c
-// MAX_STRING_SIZE // Name given in diskpart
-
-// #define MAX_MESSAGE_SIZE 512 // See shutdown...
/**
@@ -93,8 +91,6 @@ ConWrite(
DWORD TotalLen = len, dwNumBytes = 0;
PVOID p;
- // CHAR strOem[CON_RC_STRING_MAX_SIZE]; // Some static buffer...
-
/* If we do not write anything, just return */
if (!szStr || len == 0)
return 0;