if ((fp = fopen(filename_buffer, "r")) == NULL)
if ((fp = fopen(filename_buffer, TXT_R)) == NULL)
PRIVATE char * convert_mosaic_bookmark_file ARGS1(	char *,		filename_buffer){    static char newfile[LY_MAXPATH];    FILE *fp, *nfp;    char *buf = NULL;    int line = -2;    char *endline;    LYRemoveTemp(newfile);    if ((nfp = LYOpenTemp(newfile, HTML_SUFFIX, "w")) == NULL) {	LYMBM_statusline(NO_TEMP_FOR_HOTLIST);	sleep(AlertSecs);	return ("");    }    if ((fp = fopen(filename_buffer, "r")) == NULL)	return ("");  /* should always open */    fprintf(nfp,"<head>\n<title>%s</title>\n</head>\n",MOSAIC_BOOKMARK_TITLE);    fprintf(nfp, "%s\n\n<p>\n<ol>\n", gettext("\     This file is an HTML representation of the X Mosaic hotlist file.\n\     Outdated or invalid links may be removed by using the\n\     remove bookmark command, it is usually the 'R' key but may have\n\     been remapped by you or your system administrator."));    while ((LYSafeGets(&buf, fp)) != NULL) {	if(line >= 0) {	    endline = &buf[strlen(buf)-1];	    if(*endline == '\n')		*endline = '\0';	    if((line % 2) == 0) { /* even lines */		if(*buf != '\0') {		    strtok(buf," "); /* kill everything after the space */		    fprintf(nfp,"<LI><a href=\"%s\">",buf); /* the URL */		}	    } else { /* odd lines */		fprintf(nfp,"%s</a>\n",buf);  /* the title */	    }	}	/* else - ignore the line (this gets rid of first two lines) */	line++;    }    LYCloseTempFP(nfp);    fclose(fp);    return(newfile);}