Lines 762-767
Link Here
|
762 |
int numcopies = -1; |
762 |
int numcopies = -1; |
763 |
int is_banner = 0; |
763 |
int is_banner = 0; |
764 |
char *p_read_buf; |
764 |
char *p_read_buf; |
|
|
765 |
BufList *ps_data_tail = NULL; |
765 |
|
766 |
|
766 |
while( (read_bytes = read_line(ifd, read_buf, DATA_BUF_SIZE - 1)) > 0 ) |
767 |
while( (read_bytes = read_line(ifd, read_buf, DATA_BUF_SIZE - 1)) > 0 ) |
767 |
{ |
768 |
{ |
Lines 798-804
Link Here
|
798 |
if( *ps_data == NULL ) |
799 |
if( *ps_data == NULL ) |
799 |
*ps_data = bl; |
800 |
*ps_data = bl; |
800 |
else |
801 |
else |
801 |
buflist_add_tail(*ps_data, bl); |
802 |
buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); |
802 |
|
803 |
|
803 |
if( read_bytes > 0 ) |
804 |
if( read_bytes > 0 ) |
804 |
{ |
805 |
{ |
Lines 894-899
Link Here
|
894 |
*ps_data = bl; |
895 |
*ps_data = bl; |
895 |
else |
896 |
else |
896 |
buflist_add_tail(*ps_data, bl); |
897 |
buflist_add_tail(*ps_data, bl); |
|
|
898 |
buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); |
897 |
|
899 |
|
898 |
if( read_bytes > 0 ) |
900 |
if( read_bytes > 0 ) |
899 |
{ |
901 |
{ |