Changeset 99


Ignore:
Timestamp:
11/21/14 16:24:41 (9 years ago)
Author:
pkopta
Message:

replaced ';' with ',' in function parsing '-W' attributes - now we can pass
several attributes into one '-W' argument, e. g.: partition name and
reservation name:

-W x=FLAGS:ADVRES:res_id;PARTITION:part_id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_drmaa/submit.c

    r91 r99  
    629629        TRY 
    630630          { 
    631                 for (arg = strtok_r(add_attr_copy, ";", &ctxt); arg; arg = strtok_r(NULL, ";",&ctxt) ) 
     631                for (arg = strtok_r(add_attr_copy, ",", &ctxt); arg; arg = strtok_r(NULL, ",",&ctxt) ) 
    632632                { 
    633633                        name = fsd_strdup(strtok_r(arg, "=", &ctxt2)); 
Note: See TracChangeset for help on using the changeset viewer.