diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2001-06-11 01:14:52 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2001-06-11 01:14:52 -0400 |
commit | 244151ea1ed7b05051bd92a653bbde57c8194061 (patch) | |
tree | 13b8c5ac42c66347c61173e7d5929f738374b006 /WWW/Library/Implementation/HTFile.c | |
parent | 1f734c80c35ae04b3e8b0b82707d643f52852c6d (diff) | |
download | lynx-snapshots-244151ea1ed7b05051bd92a653bbde57c8194061.tar.gz |
snapshot of project "lynx", label v2-8-4pre_2
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index b302120c..829214e8 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -1604,7 +1604,7 @@ PRIVATE void do_readme ARGS2(HTStructured *, target, CONST char *, localname) HTSprintf0(&readme_file_name, "%s/%s", localname, HT_DIR_README_FILE); - fp = fopen(readme_file_name, TXT_R); + fp = fopen(readme_file_name, "r"); if (fp) { HTStructuredClass targetClass; @@ -2184,7 +2184,7 @@ PUBLIC int HTLoadFile ARGS4( FILE * fp; char * vmsname = strchr(filename + 1, '/') ? HTVMS_name(nodename, filename) : filename + 1; - fp = fopen(vmsname, TXT_R, "shr=put", "shr=upd"); + fp = fopen(vmsname, "r", "shr=put", "shr=upd"); /* ** If the file wasn't VMS syntax, then perhaps it is Ultrix. @@ -2193,7 +2193,7 @@ PUBLIC int HTLoadFile ARGS4( char * ultrixname = 0; CTRACE((tfp, "HTLoadFile: Can't open as %s\n", vmsname)); HTSprintf0(&ultrixname, "%s::\"%s\"", nodename, filename); - fp = fopen(ultrixname, TXT_R, "shr=put", "shr=upd"); + fp = fopen(ultrixname, "r", "shr=put", "shr=upd"); if (!fp) { CTRACE((tfp, "HTLoadFile: Can't open as %s\n", ultrixname)); @@ -2563,7 +2563,7 @@ PUBLIC int HTLoadFile ARGS4( #endif /* HAVE_READDIR */ { int bin = HTCompressFileType(localname, ".", &dot) != cftNone; - FILE * fp = fopen(localname, (bin ? BIN_R : TXT_R)); + FILE * fp = fopen(localname, (bin ? BIN_R : "r")); CTRACE((tfp, "HTLoadFile: Opening `%s' gives %p\n", localname, (void*)fp)); |