comparison src/misc1.c @ 28497:7c4a9e20c178 v8.2.4773

patch 8.2.4773: build failure without the +eval feature Commit: https://github.com/vim/vim/commit/a9549c9e8f368a7fa1dcbe14ec23e82c6a0b8715 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 17 14:18:11 2022 +0100 patch 8.2.4773: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Use other error message. Avoid warnings.
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Apr 2022 15:30:06 +0200
parents f285dd00704e
children 5be5151ad510
comparison
equal deleted inserted replaced
28496:bf19917b91ab 28497:7c4a9e20c178
2341 if (fd == NULL 2341 if (fd == NULL
2342 || fseek(fd, 0L, SEEK_END) == -1 2342 || fseek(fd, 0L, SEEK_END) == -1
2343 || (len = ftell(fd)) == -1 // get size of temp file 2343 || (len = ftell(fd)) == -1 // get size of temp file
2344 || fseek(fd, 0L, SEEK_SET) == -1) // back to the start 2344 || fseek(fd, 0L, SEEK_SET) == -1) // back to the start
2345 { 2345 {
2346 semsg(_(e_cannot_read_from_str), tempname); 2346 semsg(_(e_cannot_read_from_str_2), tempname);
2347 if (fd != NULL) 2347 if (fd != NULL)
2348 fclose(fd); 2348 fclose(fd);
2349 goto done; 2349 goto done;
2350 } 2350 }
2351 2351