diff options
Diffstat (limited to 'gl/fseeko.c')
| -rw-r--r-- | gl/fseeko.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/fseeko.c b/gl/fseeko.c index ecd2f83a..f6cd7cba 100644 --- a/gl/fseeko.c +++ b/gl/fseeko.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* An fseeko() function that, together with fflush(), is POSIX compliant. | 1 | /* An fseeko() function that, together with fflush(), is POSIX compliant. |
| 2 | Copyright (C) 2007-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2026 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is free software: you can redistribute it and/or modify | 4 | This file is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as | 5 | it under the terms of the GNU Lesser General Public License as |
| @@ -84,7 +84,7 @@ fseeko (FILE *fp, off_t offset, int whence) | |||
| 84 | #elif defined __minix /* Minix */ | 84 | #elif defined __minix /* Minix */ |
| 85 | if (fp_->_ptr == fp_->_buf | 85 | if (fp_->_ptr == fp_->_buf |
| 86 | && (fp_->_ptr == NULL || fp_->_count == 0)) | 86 | && (fp_->_ptr == NULL || fp_->_count == 0)) |
| 87 | #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ | 87 | #elif defined _IOERR /* AIX, HP-UX, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ |
| 88 | if (fp_->_ptr == fp_->_base | 88 | if (fp_->_ptr == fp_->_base |
| 89 | && (fp_->_ptr == NULL || fp_->_cnt == 0)) | 89 | && (fp_->_ptr == NULL || fp_->_cnt == 0)) |
| 90 | #elif defined __UCLIBC__ /* uClibc */ | 90 | #elif defined __UCLIBC__ /* uClibc */ |
| @@ -158,7 +158,7 @@ fseeko (FILE *fp, off_t offset, int whence) | |||
| 158 | fp_->_flags &= ~__SEOF; | 158 | fp_->_flags &= ~__SEOF; |
| 159 | #elif defined __EMX__ /* emx+gcc */ | 159 | #elif defined __EMX__ /* emx+gcc */ |
| 160 | fp->_flags &= ~_IOEOF; | 160 | fp->_flags &= ~_IOEOF; |
| 161 | #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ | 161 | #elif defined _IOERR /* AIX, HP-UX, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ |
| 162 | fp_->_flag &= ~_IOEOF; | 162 | fp_->_flag &= ~_IOEOF; |
| 163 | #elif defined __MINT__ /* Atari FreeMiNT */ | 163 | #elif defined __MINT__ /* Atari FreeMiNT */ |
| 164 | fp->__offset = pos; | 164 | fp->__offset = pos; |
