diff options
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/lynx/src/LYJump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/lynx/src/LYJump.c b/gnu/usr.bin/lynx/src/LYJump.c index bed7133eefd..bdc8a2cb5f8 100644 --- a/gnu/usr.bin/lynx/src/LYJump.c +++ b/gnu/usr.bin/lynx/src/LYJump.c @@ -411,7 +411,7 @@ PRIVATE unsigned LYRead_Jumpfile ARGS1(struct JumpTable *, jtp) if (IsStream_LF) { /** Handle as a stream. **/ #endif /* VMS */ - if (read(fd, mp, st.st_size) < st.st_size) { + if (read(fd, mp, st.st_size) != st.st_size) { HTAlert(ERROR_READING_JUMP_FILE); FREE(mp); return 0; |