PATCH: winedump

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

 



Changelog:
- winedump was still using the "init" keyword in the .spec file

Alberto

Index: output.c
===================================================================
RCS file: /home/wine/wine/tools/winedump/output.c,v
retrieving revision 1.10
diff -u -r1.10 output.c
--- output.c    20 Sep 2002 19:20:04 -0000      1.10
+++ output.c    19 Nov 2002 19:48:08 -0000
@@ -51,8 +51,7 @@
     puts ("Creating .spec preamble");
 
   fprintf (specfile,
-           "# Generated from %s by winedump\ninit    %s_Init\n\n",
-          globals.input_name, OUTPUT_UC_DLL_NAME);
+           "# Generated from %s by winedump\n\n", globals.input_name);
 }
 
 
@@ -228,11 +227,10 @@
          " (\"movl %%ecx, %0\" : \"=m\" (p))\n#endif\n\n\n", cfile);
 
   fprintf (cfile,
-           "BOOL WINAPI %s_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID "
+           "BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID "
            "lpvReserved)\n{\n\tTRACE(\"(0x%%08x, %%ld, %%p)\\n\",hinstDLL,"
            "fdwReason,lpvReserved);\n\n\t"
-           "if (fdwReason == DLL_PROCESS_ATTACH)\n\t{\n\t\t",
-           OUTPUT_UC_DLL_NAME);
+           "if (fdwReason == DLL_PROCESS_ATTACH)\n\t{\n\t\t");
 
   if (globals.forward_dll)
   {




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

  Powered by Linux