Increase a static buffer used by tracejob to avoid truncating long lists of nodes used by a parallel job. --- pbs-2.3.12-pw/src/tools/tracejob.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN src/tools/tracejob.c~tracejob-line-size src/tools/tracejob.c --- pbs-2.3.12/src/tools/tracejob.c~tracejob-line-size 2004-04-17 11:35:49.000000000 -0400 +++ pbs-2.3.12-pw/src/tools/tracejob.c 2004-04-17 11:35:49.000000000 -0400 @@ -321,7 +321,7 @@ int main( int argc, char *argv[] ) void parse_log(FILE *fp, char *job, int ind) { struct log_entry tmp; /* temporary log entry */ - char buf[1024]; /* buffer to read in from file */ + char buf[4096]; /* buffer to read in from file */ char *p; /* pointer to use for strtok */ int field_count; /* which field in log entry */ int i, j = 0; @@ -331,7 +331,7 @@ void parse_log(FILE *fp, char *job, int tms.tm_isdst = -1; /* mktime() will attempt to figure it out */ - while( fgets(buf, 1024, fp) != NULL ) + while( fgets(buf, sizeof(buf), fp) != NULL ) { lineno++; j++; _