[ros-diffs] [turner] 18234: fix detection of missing target. thanks
to thomas.
turner at svn.reactos.com
turner at svn.reactos.com
Mon Oct 3 02:51:36 CEST 2005
fix detection of missing target. thanks to thomas.
Modified: trunk/reactos/subsys/system/cmd/internal.c
_____
Modified: trunk/reactos/subsys/system/cmd/internal.c
--- trunk/reactos/subsys/system/cmd/internal.c 2005-10-03 00:26:39 UTC
(rev 18233)
+++ trunk/reactos/subsys/system/cmd/internal.c 2005-10-03 00:51:24 UTC
(rev 18234)
@@ -566,6 +566,7 @@
return 1;
}
+ dir[0] = 0;
/* check for options anywhere in command line */
for (i = 0; i < args; i++)
{
@@ -592,7 +593,7 @@
}
}
- if (!dir)
+ if (dir[0] == _T('\0'))
{
/* No folder to remove */
ConErrResPuts(STRING_ERROR_REQ_PARAM_MISSING);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051003/94a8408e/attachment.html
More information about the Ros-diffs
mailing list