source:
trunk/patches/torque.cfg.patch
@
5
Last change on this file since 5 was 5, checked in by bas, 17 years ago | |
---|---|
File size: 740 bytes |
-
src/server/pbsd_main.c
452 452 time_t last_jobstat_time; 453 453 int when; 454 454 455 int BuffSize; 455 456 char *Buffer; 456 457 457 458 void ping_nodes A_((struct work_task *ptask)); … … 476 477 477 478 ProgName = argv[0]; 478 479 479 Buffer=calloc(65536,sizeof(char)); 480 BuffSize=65536; 481 Buffer=calloc(1,BuffSize); 480 482 481 483 /* if we are not running with real and effective uid of 0, forget it */ 482 484 … … 502 504 503 505 /* load/process config file first then override values with command line parameters */ 504 506 505 if (TLoadConfig(Buffer, sizeof(Buffer)) == 0)507 if (TLoadConfig(Buffer,BuffSize) == 0) 506 508 { 507 509 char *ptr; 508 510 char *tptr;
Note: See TracBrowser
for help on using the repository browser.