mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
quick dirty hack getting our copy working with 1>null by me
so we can create reactos iso on ros. bug reported by harteex and Brandon Turner, thanks to Brandon to hunt down where the bug was. svn path=/trunk/; revision=16526
This commit is contained in:
parent
a5b363cd94
commit
fe2f78c54c
1 changed files with 17 additions and 1 deletions
|
@ -232,8 +232,23 @@ ParseCommand (LPFILES f, int argc, TCHAR **arg, LPDWORD lpdwFlags)
|
|||
source = 0;
|
||||
count = 0;
|
||||
|
||||
for (i = 0; i < argc; i++)
|
||||
ConOutPrintf(_T("here\n"));
|
||||
|
||||
|
||||
/* hack geting pipe 1>null working */
|
||||
for (i = 0; i < argc; i++)
|
||||
{
|
||||
if (arg[i][0] != _T('/'))
|
||||
count++;
|
||||
}
|
||||
if (count==3) argc=2;
|
||||
/* end hack */
|
||||
|
||||
|
||||
|
||||
for (i = 0; i < argc; i++)
|
||||
{
|
||||
|
||||
if (arg[i][0] == _T('/'))
|
||||
{
|
||||
if (!DoSwitches (arg[i], lpdwFlags))
|
||||
|
@ -645,6 +660,7 @@ INT cmd_copy (LPTSTR first, LPTSTR rest)
|
|||
BOOL bDestFound;
|
||||
DWORD dwFlags = 0;
|
||||
|
||||
ConOutPrintf(_T("string : %s\n"),rest);
|
||||
if (!_tcsncmp (rest, _T("/?"), 2))
|
||||
{
|
||||
ConOutResPaging(TRUE,STRING_COPY_HELP2);
|
||||
|
|
Loading…
Reference in a new issue