WCMD: More verbose error output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
	programs/wcmd/builtins.c
	More verbose output when file not found		
-- 
Uwe Bonnes                bon@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 {


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux