Changeset 3290


Ignore:
Timestamp:
May 5, 2007, 6:42:47 PM (18 years ago)
Author:
bird
Message:

Fixed rc.exe bustage introduced by Yuri's wrc patch. And applied a patch fixing a problem with wrc and response files. Ref #159.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/src/emxomf/emxomfld.c

    r3288 r3290  
    23432343                         "*** Resource compiler type: %s\n", rc_name, rc_type);
    23442344
    2345       if (!stricmp (linker_type, "RC"))
     2345      if (!stricmp (rc_type, "RC"))
    23462346        {
    23472347          arg_init (TRUE);
     
    23602360      else
    23612361        {
    2362           arg_init (FALSE);
    2363           put_arg (rc_name, TRUE, FALSE);
    2364           put_arg ("-q", FALSE, FALSE);
    2365           put_arg (res_fname, TRUE, FALSE);
    2366           put_arg (output_fname, TRUE, FALSE);
    2367           arg_end ();
    2368           rc = emxomfld_spawn (command_line, "Resource Linker");
     2362          /* wrc doesn't understand response files and put_arg handles max 110 chars */
     2363          rc = spawnlp (P_WAIT, rc_name, rc_name, "-q", res_fname, output_fname, NULL);
    23692364          if (rc < 0)
    23702365            {
  • trunk/emx/src/emxomf/emxomfld.c

    r3288 r3290  
    23432343                         "*** Resource compiler type: %s\n", rc_name, rc_type);
    23442344
    2345       if (!stricmp (linker_type, "RC"))
     2345      if (!stricmp (rc_type, "RC"))
    23462346        {
    23472347          arg_init (TRUE);
     
    23602360      else
    23612361        {
    2362           arg_init (FALSE);
    2363           put_arg (rc_name, TRUE, FALSE);
    2364           put_arg ("-q", FALSE, FALSE);
    2365           put_arg (res_fname, TRUE, FALSE);
    2366           put_arg (output_fname, TRUE, FALSE);
    2367           arg_end ();
    2368           rc = emxomfld_spawn (command_line, "Resource Linker");
     2362          /* wrc doesn't understand response files and put_arg handles max 110 chars */
     2363          rc = spawnlp (P_WAIT, rc_name, rc_name, "-q", res_fname, output_fname, NULL);
    23692364          if (rc < 0)
    23702365            {
Note: See TracChangeset for help on using the changeset viewer.