Commit 280b80fe authored by David Johnson's avatar David Johnson

Increase the parse_ptop line buffer in assign.

parent 62f04bb5
...@@ -77,12 +77,12 @@ int parse_ptop(tb_pgraph &pg, tb_sgraph &sg, istream& input) ...@@ -77,12 +77,12 @@ int parse_ptop(tb_pgraph &pg, tb_sgraph &sg, istream& input)
{ {
int num_nodes = 0; int num_nodes = 0;
int line=0,errors=0; int line=0,errors=0;
char inbuf[32768]; char inbuf[65536];
string_vector parsed_line; string_vector parsed_line;
while (!input.eof()) { while (!input.eof()) {
line++; line++;
input.getline(inbuf,32768); input.getline(inbuf,65536);
parsed_line = split_line(inbuf,' '); parsed_line = split_line(inbuf,' ');
if (parsed_line.size() == 0) {continue;} if (parsed_line.size() == 0) {continue;}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment