Commit in reactos/tools/winebuild on MAIN
spec32.c+141.7 -> 1.8
If stub name is of the form function@0, output as function@0@0 in the .def
file because the last @0 will be stripped later on

reactos/tools/winebuild
spec32.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- spec32.c	2 Nov 2004 19:47:18 -0000	1.7
+++ spec32.c	24 Nov 2004 20:11:52 -0000	1.8
@@ -886,6 +886,20 @@
         }
         case TYPE_STUB:
         {
+            if (!kill_at)
+            {
+                const char *check = name + strlen(name);
+                while (name != check &&
+                       '0' <= check[-1] && check[-1] <= '9')
+                {
+                    check--;
+                }
+                if (name != check && check != name + strlen(name) &&
+                    '@' == check[-1])
+                {
+                    fprintf(outfile, "%s", check - 1);
+                }
+            }
             if (NULL != odp->name)
             {
                 fprintf(outfile, "=%s", make_internal_name( odp, spec, "stub" ));
CVSspam 0.2.8