This patch depends on my previous patches. These things are no longer used, and there is no reason why we would need them in the future. Removing support for it ensures they will not creep back in... ChangeLog Remove support for 'file', 'name', and 'mode' in .spec files Index: tools/winebuild/parser.c =================================================================== RCS file: /var/cvs/wine/tools/winebuild/parser.c,v retrieving revision 1.33 diff -u -r1.33 parser.c --- tools/winebuild/parser.c 27 Aug 2002 22:32:01 -0000 1.33 +++ tools/winebuild/parser.c 11 Sep 2002 05:18:38 -0000 @@ -504,25 +504,7 @@ while ((token = GetToken(1)) != NULL) { - if (strcmp(token, "name") == 0) - { - strcpy(DLLName, GetToken(0)); - } - else if (strcmp(token, "file") == 0) - { - strcpy(DLLFileName, GetToken(0)); - } - else if (strcmp(token, "mode") == 0) - { - token = GetToken(0); - if (!strcmp(token, "dll" )) SpecMode = SPEC_MODE_DLL; - else if (!strcmp(token, "guiexe" )) SpecMode = SPEC_MODE_GUIEXE; - else if (!strcmp(token, "cuiexe" )) SpecMode = SPEC_MODE_CUIEXE; - else if (!strcmp(token, "guiexe_unicode" )) SpecMode = SPEC_MODE_GUIEXE_UNICODE; - else if (!strcmp(token, "cuiexe_unicode" )) SpecMode = SPEC_MODE_CUIEXE_UNICODE; - else fatal_error( "Mode must be 'dll', 'guiexe', 'cuiexe', 'guiexe_unicode' or 'cuiexe_unicode'\n" ); - } - else if (strcmp(token, "heap") == 0) + if (strcmp(token, "heap") == 0) { token = GetToken(0); if (!IsNumberString(token)) fatal_error( "Expected number after heap\n" );