rem: while (readline (&line_buf, fp))
add: while (readlinebuffer (&line_buf, fp))
context: process_file (FILE *fp){  while (readline (&line_buf, fp))    {      switch ((int) check_section ())	{	case Header:	  proc_header ();	  break;	case Body:	  proc_body ();	  break;	case Footer:	  proc_footer ();	  break;	case Text:	  proc_text ();	  break;	}    }}