summaryrefslogtreecommitdiffstats
path: root/gl/fseeko.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
commit1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch)
treed69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/fseeko.c
parent99283972fe3a74d3a1dea12c4099f76286130a67 (diff)
parenta71ce153082565e5728424749475593dc0623492 (diff)
downloadmonitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz
merged with mastercheck_snmp_fixes
Diffstat (limited to 'gl/fseeko.c')
-rw-r--r--gl/fseeko.c6
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;