return line; 
return line; 
get_line (void){    int i = 0, fpos;    static char line[MAX_LEN + 1];    end_reached = 0;    while (*page != '\n') {	if (*page == '\0') {	    /* Either end of file or end of buffer reached */	    if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {		endwin ();		fprintf (stderr, "\nError moving file pointer in "			 "get_line().\n");		exit (-1);	    }	    if (fpos < file_size) {	/* Not end of file yet */		/* We've reached end of buffer, but not end of file yet,		   so read next part of file into buffer */		if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) {		    endwin ();		    fprintf (stderr, "\nError reading file in get_line().\n");		    exit (-1);		}		buf[bytes_read] = '\0';		page = buf;	    } else {		if (!end_reached)		    end_reached = 1;		break;	    }	} else if (i < MAX_LEN)	    line[i++] = *(page++);	else {	    /* Truncate lines longer than MAX_LEN characters */	    if (i == MAX_LEN)		line[i++] = '\0';	    page++;	}    }    if (i <= MAX_LEN)	line[i] = '\0';    if (!end_reached)	page++;			/* move pass '\n' */    return line;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2/textbox.c/buggy/scripts/lxdialog/textbox.c