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.
Modified: trunk/reactos/subsys/system/cmd/copy.c
_____
Modified: trunk/reactos/subsys/system/cmd/copy.c
--- trunk/reactos/subsys/system/cmd/copy.c 2005-07-10 11:49:10 UTC
(rev 16525)
+++ trunk/reactos/subsys/system/cmd/copy.c 2005-07-10 21:26:51 UTC
(rev 16526)
@@ -232,8 +232,23 @@
source = 0;
count = 0;
+ 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 @@
BOOL bDestFound;
DWORD dwFlags = 0;
+ ConOutPrintf(_T("string : %s\n"),rest);
if (!_tcsncmp (rest, _T("/?"), 2))
{
ConOutResPaging(TRUE,STRING_COPY_HELP2);
Add dependence from pnp_client also, since in fact it uses it (includes
pnp_c.h). It worked before only because lib/setupapi depends on pnp_c,
and it's build earlier than umpnpmgr.
Modified: trunk/reactos/services/umpnpmgr/umpnpmgr.xml
_____
Modified: trunk/reactos/services/umpnpmgr/umpnpmgr.xml
--- trunk/reactos/services/umpnpmgr/umpnpmgr.xml 2005-07-09
10:31:30 UTC (rev 16522)
+++ trunk/reactos/services/umpnpmgr/umpnpmgr.xml 2005-07-09
13:23:05 UTC (rev 16523)
@@ -1,6 +1,7 @@
<module name="umpnpmgr" type="win32cui" installbase="system32"
installname="umpnpmgr.exe">
<include base="umpnpmgr">.</include>
<include base="pnp_server">.</include>
+ <include base="pnp_client">.</include>
<define name="__USE_W32API" />
<define name="UNICODE" />
<define name="_UNICODE" />