| $input_93516 >= ( $unknown_9355729 - 31 ) / 32 | 5449 | | slave_config(hn, argc, argv) | Problem | | $input_93516 >= ( $unknown_9355729 - 31 ) / 32 |
|
| | 5450 | | char *hn; |
| | 5451 | | int argc; |
| | 5452 | | char **argv; |
| | 5453 | | { |
| | 5454 | | int lh; |
| | 5455 | | int mh; |
| | 5456 | | struct hostd *hp; |
| | 5457 | | int i, j; |
| | 5458 | | int ac; |
| $input_93532 >= ( $unknown_9355743 - 31 ) / 32 | 5459 | | int ms = 0; | Problem | | $input_93532 >= ( $unknown_9355743 - 31 ) / 32 |
|
| | 5460 | | #ifndef WIN32 |
| $input_93548 >= ( $unknown_9355757 - 31 ) / 32 | 5461 | | int dof = 1; | Problem | | $input_93548 >= ( $unknown_9355757 - 31 ) / 32 |
|
| | 5462 | | #else |
| | 5463 | | int dof = 0; |
| | 5464 | | #endif |
| $input_93564 >= ( $unknown_9355771 - 31 ) / 32 | 5465 | | int bad = 0; | Problem | | $input_93564 >= ( $unknown_9355771 - 31 ) / 32 |
|
| | 5466 | | char *p; |
| | 5467 | | char *s; |
| | 5468 | | |
| $input_93580 >= ( $unknown_9355785 - 31 ) / 32 | 5469 | | for (i = j = ac = 1; i < argc; i++) { | Problem | | $input_93580 >= ( $unknown_9355785 - 31 ) / 32 |
|
| $input_93660 >= ( 8 * bytes_after(((char*)&$heap_149749)[28]) - 31 ) / 32 | 5470 | | if (argv[i][0] == '-') { | Problem | | $input_93660 >= ( 8 * bytes_after(((char*)&$heap_149749)[28]) - 31 ) / 32 |
|
| | 5471 | | switch (argv[i][1]) { |
| | 5472 | | |
| | 5473 | | case 'S': |
| | 5474 | | ms = 1; |
| | 5475 | | break; |
| | 5476 | | |
| | 5477 | | case 'f': |
| | 5478 | | dof = 0; |
| | 5479 | | break; |
| | 5480 | | |
| $input_93692 >= ( $unknown_9355833 - 31 ) / 32 | 5481 | | default: | Problem | | $input_93692 >= ( $unknown_9355833 - 31 ) / 32 |
|
| $input_93708 >= ( $unknown_9355837 - 31 ) / 32 | 5482 | | pvmlogprintf("slave_config() unknown switch: %s\n", argv[i]); | Problem | | $input_93708 >= ( $unknown_9355837 - 31 ) / 32 |
|
| $input_93756 >= ( $unknown_9355843 - 31 ) / 32 | 5483 | | bad++; | Problem | | $input_93756 >= ( $unknown_9355843 - 31 ) / 32 |
|
| | 5484 | | } |
| | 5485 | | |
| | 5486 | | } else { |
| | 5487 | | argv[j++] = argv[i]; |
| | 5488 | | ac++; |
| | 5489 | | } |
| | 5490 | | } |
| $input_93820 >= ( $unknown_9355859 - 31 ) / 32 | 5491 | | argc = ac; | Problem | | $input_93820 >= ( $unknown_9355859 - 31 ) / 32 |
|
| | 5492 | | |
| $input_93836 >= ( $unknown_9355863 - 31 ) / 32 | 5493 | | if (bad || argc != 6) { | Problem | | $input_93836 >= ( $unknown_9355863 - 31 ) / 32 |
|
| | 5494 | | pvmlogerror("slave_config: bad args\n"); |
| | 5495 | | pvmbailout(0); |
| | 5496 | | } |
| | 5497 | | |
| $input_93868 >= ( 8 * bytes_after(((char*)&$heap_150009)[28]) - 31 ) / 32 | 5498 | | mh = atoi(argv[1]); | Problem | | $input_93868 >= ( 8 * bytes_after(((char*)&$heap_150009)[28]) - 31 ) / 32 |
|
| | 5499 | | lh = atoi(argv[4]); |
| lh >= ( $unknown_9355889 - 31 ) / 32 | 5500 | | hosts = ht_new(1); | Problem | | lh >= ( $unknown_9355889 - 31 ) / 32 |
|
| lh >= ( $unknown_9355909 - 31 ) / 32 | 5501 | | hosts->ht_serial = 1; | Problem | | lh >= ( $unknown_9355909 - 31 ) / 32 |
|
| lh >= ( $unknown_9355917 - 31 ) / 32 | 5502 | | hosts->ht_master = mh; | Problem | | lh >= ( $unknown_9355917 - 31 ) / 32 |
|
| lh >= ( $unknown_9355925 - 31 ) / 32 | 5503 | | hosts->ht_cons = mh; | Problem | | lh >= ( $unknown_9355925 - 31 ) / 32 |
|
| lh >= ( $unknown_9355933 - 31 ) / 32 | 5504 | | hosts->ht_local = lh; | Problem | | lh >= ( $unknown_9355933 - 31 ) / 32 |
|
| | 5505 | | |
| hosts->ht_local >= ( 8 * bytes_after(&$unknown_730838) - 31 ) / 32 | 5506 | | hp = hd_new(mh); | Problem | | hosts->ht_local >= ( 8 * bytes_after(&$unknown_730838) - 31 ) / 32 |
|
| | 5507 | | hp->hd_name = STRALLOC("?");
|
| | 5508 | | hex_inadport(argv[2], &hp->hd_sad); |
| hosts->ht_local >= ( $unknown_9356085 - 31 ) / 32 | 5509 | | hp->hd_mtu = atoi(argv[3]); | Problem | | hosts->ht_local >= ( $unknown_9356085 - 31 ) / 32 |
|
| hosts->ht_local >= ( $unknown_9356109 - 31 ) / 32 | 5510 | | ht_insert(hosts, hp); | Problem | | hosts->ht_local >= ( $unknown_9356109 - 31 ) / 32 |
|
| hosts->ht_local >= ( $unknown_9356125 - 31 ) / 32 | 5511 | | hd_unref(hp); | Problem | | hosts->ht_local >= ( $unknown_9356125 - 31 ) / 32 |
|
| | 5512 | | |
| hosts->ht_local >= ( $unknown_9356133 - 31 ) / 32 | 5513 | | hp = hd_new(0); | Problem | | hosts->ht_local >= ( $unknown_9356133 - 31 ) / 32 |
|
| | 5514 | | hp->hd_name = STRALLOC("pvmd'");
|
| | 5515 | | hp->hd_arch = STRALLOC(myarchname);
|
| hosts->ht_local >= ( $unknown_9356199 - 31 ) / 32 | 5516 | | hp->hd_mtu = pvmudpmtu; | Problem | | hosts->ht_local >= ( $unknown_9356199 - 31 ) / 32 |
|
| hosts->ht_local >= ( $unknown_9356201 - 31 ) / 32 | 5517 | | hp->hd_dsig = pvmmydsig; | Problem | | hosts->ht_local >= ( $unknown_9356201 - 31 ) / 32 |
|
| hosts->ht_local >= ( $unknown_9356203 - 31 ) / 32 | 5518 | | hex_inadport(argv[5], &hp->hd_sad); | Problem | | hosts->ht_local >= ( $unknown_9356203 - 31 ) / 32 |
|
| | 5519 | | ht_insert(hosts, hp); |
| hosts->ht_local >= ( $unknown_9356215 - 31 ) / 32 | 5520 | | hd_unref(hp); | Problem | | hosts->ht_local >= ( $unknown_9356215 - 31 ) / 32 |
|
| | 5521 | | |
| hosts->ht_local >= ( $unknown_9356219 - 31 ) / 32 | 5522 | | hp = hd_new(lh); | Problem | | hosts->ht_local >= ( $unknown_9356219 - 31 ) / 32 |
|
| | 5523 | | hp->hd_name = STRALLOC(hn);
|
| | 5524 | | hp->hd_arch = STRALLOC(myarchname);
|
| hosts->ht_local >= ( $unknown_9356283 - 31 ) / 32 | 5525 | | hp->hd_mtu = pvmudpmtu; | Problem | | hosts->ht_local >= ( $unknown_9356283 - 31 ) / 32 |
|
| hosts->ht_local >= ( $unknown_9356285 - 31 ) / 32 | 5526 | | hp->hd_dsig = pvmmydsig; | Problem | | hosts->ht_local >= ( $unknown_9356285 - 31 ) / 32 |
|
| hosts->ht_local >= ( $unknown_9356287 - 31 ) / 32 | 5527 | | hex_inadport(argv[5], &hp->hd_sad); | Problem | | hosts->ht_local >= ( $unknown_9356287 - 31 ) / 32 |
|
| | 5528 | | ht_insert(hosts, hp); |
| | 5529 | | hd_unref(hp); |
| | 5530 | | |