Rundll32 fixes

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

 



ChangeLog:
- Change wineinstall so that link name rundll32.exe is added to the c:\windows directory of the fake Windows installation
- Make rundll32 not crash if invoked with no arguments

Alberto

Index: wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.45
diff -u -r1.45 wineinstall
--- wineinstall 29 Oct 2002 23:27:37 -0000      1.45
+++ wineinstall 15 Nov 2002 11:25:41 -0000
@@ -194,6 +194,7 @@
 function configure_wine_applications {
   link_app notepad      "$CROOT/windows/notepad.exe"
   link_app regedit      "$CROOT/windows/regedit.exe"
+  link_app rundll32     "$CROOT/windows/rundll32.exe"
   link_app wcmd         "$CROOT/windows/system32/cmd.exe"
   link_app control      "$CROOT/windows/system32/control.exe"
   link_app winhelp      "$CROOT/windows/system32/help.exe"

Index: rundll32.c
===================================================================
RCS file: /home/wine/wine/programs/rundll32/rundll32.c,v
retrieving revision 1.2
diff -u -r1.2 rundll32.c
--- rundll32.c  15 Nov 2002 04:17:00 -0000      1.2
+++ rundll32.c  15 Nov 2002 11:35:07 -0000
@@ -17,8 +17,6 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * This version deliberately differs in error handling compared to the
- * windows version.
  */
 
 /*
@@ -80,6 +78,8 @@
     EntryPointA pfEntryPointA;
     HMODULE DllHandle=NULL;
 
+    if(argc<2)
+        return 0;
     comma=strchr(argv[1],',');
     if(comma==NULL)
         return 0;




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

  Powered by Linux