Re: WCMD : Problem into PATH command

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

 



Seems the bug I posted is fixed now.
http://bugs.winehq.com/show_bug.cgi?id=1247
Patch :

Index: builtins.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/builtins.c,v
retrieving revision 1.16
diff -u -r1.16 builtins.c
--- builtins.c	15 Jan 2003 03:35:32 -0000	1.16
+++ builtins.c	1 Feb 2003 02:54:36 -0000
@@ -672,7 +672,7 @@
  * Set/Show the path environment variable
  */
 
-void WCMD_setshow_path () {
+void WCMD_setshow_path (char *command) {
 
 char string[1024];
 DWORD status;
@@ -687,7 +687,7 @@
     }
   }
   else {
-    status = SetEnvironmentVariable ("PATH", param1);
+    status = SetEnvironmentVariable ("PATH", command);
     if (!status) WCMD_print_error();
   }
 }
Index: wcmd.h
===================================================================
RCS file: /home/wine/wine/programs/wcmd/wcmd.h,v
retrieving revision 1.8
diff -u -r1.8 wcmd.h
--- wcmd.h	31 May 2002 23:40:59 -0000	1.8
+++ wcmd.h	1 Feb 2003 02:54:36 -0000
@@ -60,7 +60,7 @@
 void WCMD_setshow_date (void);
 void WCMD_setshow_default (void);
 void WCMD_setshow_env (char *command);
-void WCMD_setshow_path (void);
+void WCMD_setshow_path (char *command);
 void WCMD_setshow_prompt (void);
 void WCMD_setshow_time (void);
 void WCMD_shift (void);
Index: wcmdmain.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/wcmdmain.c,v
retrieving revision 1.21
diff -u -r1.21 wcmdmain.c
--- wcmdmain.c	15 Jan 2003 03:35:32 -0000	1.21
+++ wcmdmain.c	1 Feb 2003 02:54:37 -0000
@@ -286,7 +286,7 @@
         WCMD_move ();
         break;
       case WCMD_PATH:
-        WCMD_setshow_path ();
+        WCMD_setshow_path (p);
         break;
       case WCMD_PAUSE:
         WCMD_pause ();

> Hey  your right. Since I have not been too successfull in getting my 
>  Hack^H^H^H^HPatches applied lately could you start a bug for this. 
> I 
> will have at least shot at it.
> 
> -- 
> 
> Tony Lambregts


=====
Sylvain Petreolle
spetreolle@users.sourceforge.net 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

"Don't think you are. Know you are." Morpheus, in "Matrix".

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
_______________________________________________
wine-users mailing list
wine-users@winehq.com
http://www.winehq.com/mailman/listinfo/wine-users

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

  Powered by Linux