fix typo
Modified: trunk/reactos/config.template.xml
_____
Modified: trunk/reactos/config.template.xml
--- trunk/reactos/config.template.xml 2005-08-09 20:12:35 UTC (rev
17251)
+++ trunk/reactos/config.template.xml 2005-08-10 03:32:15 UTC (rev
17252)
@@ -18,7 +18,7 @@
<!--
Which CPU ReactOS should be optimized for. Specify one of:
- i486, i586, pentium, pentium2, pentum3, pentium4, athlon-xp,
athlon-mp,
+ i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp,
athlon-mp,
k6-2
See GCC manual for more CPU names and which CPUs GCC can optimize
for.
Thx harmut you did see the small bug, I miss, do not use MAX_PATH as
lenght of command line, it must be CMDLINE_LENGTH instead, patch by
Brandon Turner
Modified: trunk/reactos/subsys/system/cmd/cmd.c
_____
Modified: trunk/reactos/subsys/system/cmd/cmd.c
--- trunk/reactos/subsys/system/cmd/cmd.c 2005-08-09 19:35:07 UTC
(rev 17249)
+++ trunk/reactos/subsys/system/cmd/cmd.c 2005-08-09 19:52:16 UTC
(rev 17250)
@@ -296,9 +296,9 @@
Execute (LPTSTR Full, LPTSTR First, LPTSTR Rest)
{
TCHAR szFullName[MAX_PATH];
- TCHAR first[MAX_PATH];
- TCHAR rest[MAX_PATH];
- TCHAR full[MAX_PATH];
+ TCHAR first[CMDLINE_LENGTH];
+ TCHAR rest[CMDLINE_LENGTH];
+ TCHAR full[CMDLINE_LENGTH];
#ifndef __REACTOS__
TCHAR szWindowTitle[MAX_PATH];
#endif