make cabman report error when file doesnt exist. Patch by Usurp
Modified: trunk/reactos/tools/cabman/dfp.cxx
Modified: trunk/reactos/tools/cabman/main.cxx

Modified: trunk/reactos/tools/cabman/dfp.cxx
--- trunk/reactos/tools/cabman/dfp.cxx	2005-05-17 20:28:57 UTC (rev 15387)
+++ trunk/reactos/tools/cabman/dfp.cxx	2005-05-17 20:43:27 UTC (rev 15388)
@@ -329,8 +329,8 @@
                     } else {
                         /* File copy */
                         Status = PerformFileCopy();
-    
-                        if (Status == CAB_STATUS_FAILURE) {
+
+                        if (Status != CAB_STATUS_SUCCESS) {
                             printf("Directive file contains errors at line %d.\n", (unsigned int)CurrentLine);
                             DPRINT(MID_TRACE, ("Error while copying file.\n"));
                         }

Modified: trunk/reactos/tools/cabman/main.cxx
--- trunk/reactos/tools/cabman/main.cxx	2005-05-17 20:28:57 UTC (rev 15387)
+++ trunk/reactos/tools/cabman/main.cxx	2005-05-17 20:43:27 UTC (rev 15388)
@@ -316,9 +316,9 @@
         return false;
     }
 
-    Parse();
+    Status = Parse();
 
-    return true;
+    return (Status == CAB_STATUS_SUCCESS ? true : false);
 }