diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 2e0b3831e8d..fd5277cbd59 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3114,7 +3114,9 @@ read_non_regular_quit (Lisp_Object ignore) | |||
| 3114 | static off_t | 3114 | static off_t |
| 3115 | emacs_lseek (int fd, EMACS_INT offset, int whence) | 3115 | emacs_lseek (int fd, EMACS_INT offset, int whence) |
| 3116 | { | 3116 | { |
| 3117 | if (! (TYPE_MINIMUM (off_t) <= offset && offset <= TYPE_MAXIMUM (off_t))) | 3117 | /* Use "&" rather than "&&" to suppress a bogus GCC warning; see |
| 3118 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43772>. */ | ||
| 3119 | if (! ((TYPE_MINIMUM (off_t) <= offset) & (offset <= TYPE_MAXIMUM (off_t)))) | ||
| 3118 | { | 3120 | { |
| 3119 | errno = EINVAL; | 3121 | errno = EINVAL; |
| 3120 | return -1; | 3122 | return -1; |