Author: hpoussin
Date: Fri Sep 28 16:17:19 2007
New Revision: 29279
URL:
http://svn.reactos.org/svn/reactos?rev=29279&view=rev
Log:
Moved shared define to header file
Patch by Marc Piulachs, marc (dot) piulachs (at)
codexchange.net
See issue #2700 for more details.
Modified:
trunk/reactos/base/shell/cmd/cmd.h
trunk/reactos/base/shell/cmd/copy.c
Modified: trunk/reactos/base/shell/cmd/cmd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/cmd.h?rev=2…
==============================================================================
--- trunk/reactos/base/shell/cmd/cmd.h (original)
+++ trunk/reactos/base/shell/cmd/cmd.h Fri Sep 28 16:17:19 2007
@@ -46,6 +46,9 @@
/* command line buffer length */
#define CMDLINE_LENGTH 8192
+
+/* 16k = max buffer size */
+#define BUFF_SIZE 16384
/* global variables */
extern HANDLE hOut;
Modified: trunk/reactos/base/shell/cmd/copy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/copy.c?rev=…
==============================================================================
--- trunk/reactos/base/shell/cmd/copy.c (original)
+++ trunk/reactos/base/shell/cmd/copy.c Fri Sep 28 16:17:19 2007
@@ -46,10 +46,7 @@
COPY_RESTART = 0x080, /* /Z */
COPY_BINARY = 0x100, /* /B */
};
-
-#define BUFF_SIZE 16384 /* 16k = max buffer size */
-
-
+
INT
copy (TCHAR source[MAX_PATH],
TCHAR dest[MAX_PATH],