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 /src/LYStrings.c | |
parent | 1f734c80c35ae04b3e8b0b82707d643f52852c6d (diff) | |
download | lynx-snapshots-244151ea1ed7b05051bd92a653bbde57c8194061.tar.gz |
snapshot of project "lynx", label v2-8-4pre_2
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r-- | src/LYStrings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c index ac164295..fa9927a3 100644 --- a/src/LYStrings.c +++ b/src/LYStrings.c @@ -1245,7 +1245,7 @@ PRIVATE int read_keymap_file NOARGS LYAddPathToHome(file, sizeof(file), FNAME_LYNX_KEYMAPS); - if ((fp = fopen (file, TXT_R)) == 0) + if ((fp = fopen (file, "r")) == 0) return 0; linenum = 0; @@ -1593,7 +1593,7 @@ re_read: if (new_fd >= 0) { FILE *frp; close(new_fd); - frp = freopen(term_name, TXT_R, stdin); + frp = freopen(term_name, "r", stdin); CTRACE((tfp, "nozap: freopen(%s,\"r\",stdin) returned %p, stdin is now %p with fd %d.\n", term_name, frp, stdin, fileno(stdin))); |