diff options
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 48dac80a39f..82b31036fb9 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3248,7 +3248,7 @@ variable `last-coding-system-used' to the coding system actually used. */) | |||
| 3248 | /* Check whether the size is too large or negative, which can happen on a | 3248 | /* Check whether the size is too large or negative, which can happen on a |
| 3249 | platform that allows file sizes greater than the maximum off_t value. */ | 3249 | platform that allows file sizes greater than the maximum off_t value. */ |
| 3250 | if (! not_regular | 3250 | if (! not_regular |
| 3251 | && ! (0 <= st.st_size && st.st_size <= MOST_POSITIVE_FIXNUM)) | 3251 | && ! (0 <= st.st_size && st.st_size <= BUF_BYTES_MAX)) |
| 3252 | error ("Maximum buffer size exceeded"); | 3252 | error ("Maximum buffer size exceeded"); |
| 3253 | 3253 | ||
| 3254 | /* Prevent redisplay optimizations. */ | 3254 | /* Prevent redisplay optimizations. */ |