WCMD: More verbose error output

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Jul 24 06:22:20 CDT 2002


Changelog:
	programs/wcmd/builtins.c
	More verbose output when file not found		
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/programs/wcmd/builtins.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/builtins.c,v
retrieving revision 1.14
diff -u -w -r1.14 builtins.c
--- wine/programs/wcmd/builtins.c	31 May 2002 23:40:59 -0000	1.14
+++ wine/programs/wcmd/builtins.c	24 Jul 2002 11:19:31 -0000
@@ -166,7 +166,7 @@
 
   hff = FindFirstFile (param1, &fd);
   if (hff == INVALID_HANDLE_VALUE) {
-    WCMD_output ("File Not Found\n");
+    WCMD_output ("%s :File Not Found\n",param1);
     return;
   }
   if ((strchr(param1,'*') == NULL) && (strchr(param1,'?') == NULL)
@@ -530,7 +530,7 @@
 
   hff = FindFirstFile (param1, &fd);
   if (hff == INVALID_HANDLE_VALUE) {
-    WCMD_output ("File Not Found\n");
+    WCMD_output ("%s: File Not Found\n",param1);
   }
   else {
     do {



More information about the wine-patches mailing list