mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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;
|
source = 0;
|
||||||
count = 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 (arg[i][0] == _T('/'))
|
||||||
{
|
{
|
||||||
if (!DoSwitches (arg[i], lpdwFlags))
|
if (!DoSwitches (arg[i], lpdwFlags))
|
||||||
|
@ -645,6 +660,7 @@ INT cmd_copy (LPTSTR first, LPTSTR rest)
|
||||||
BOOL bDestFound;
|
BOOL bDestFound;
|
||||||
DWORD dwFlags = 0;
|
DWORD dwFlags = 0;
|
||||||
|
|
||||||
|
ConOutPrintf(_T("string : %s\n"),rest);
|
||||||
if (!_tcsncmp (rest, _T("/?"), 2))
|
if (!_tcsncmp (rest, _T("/?"), 2))
|
||||||
{
|
{
|
||||||
ConOutResPaging(TRUE,STRING_COPY_HELP2);
|
ConOutResPaging(TRUE,STRING_COPY_HELP2);
|
||||||
|
|
Loading…
Reference in a new issue