aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/gnulib/src
diff options
context:
space:
mode:
authorNikita Slyusarev <nslus@yandex-team.com>2022-02-10 16:46:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:52 +0300
commitcd77cecfc03a3eaf87816af28a33067c4f0cdb59 (patch)
tree1308e0bae862d52e0020d881fe758080437fe389 /contrib/tools/bison/gnulib/src
parentcdae02d225fb5b3afbb28990e79a7ac6c9125327 (diff)
downloadydb-cd77cecfc03a3eaf87816af28a33067c4f0cdb59.tar.gz
Restoring authorship annotation for Nikita Slyusarev <nslus@yandex-team.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/bison/gnulib/src')
-rw-r--r--contrib/tools/bison/gnulib/src/fpurge.c10
-rw-r--r--contrib/tools/bison/gnulib/src/freadahead.c8
-rw-r--r--contrib/tools/bison/gnulib/src/freading.c4
-rw-r--r--contrib/tools/bison/gnulib/src/fseeko.c6
-rw-r--r--contrib/tools/bison/gnulib/src/fseterr.c4
-rw-r--r--contrib/tools/bison/gnulib/src/snprintf.c4
6 files changed, 18 insertions, 18 deletions
diff --git a/contrib/tools/bison/gnulib/src/fpurge.c b/contrib/tools/bison/gnulib/src/fpurge.c
index 6c74355b71..21104cce3a 100644
--- a/contrib/tools/bison/gnulib/src/fpurge.c
+++ b/contrib/tools/bison/gnulib/src/fpurge.c
@@ -101,11 +101,11 @@ fpurge (FILE *fp)
if (fp->_ptr != NULL)
fp->_cnt = 0;
return 0;
-# elif WIN_SDK10
- ((TWinSdk10File*)fp)->_ptr = ((TWinSdk10File*)fp)->_base;
- if (((TWinSdk10File*)fp)->_ptr != NULL)
- ((TWinSdk10File*)fp)->_cnt = 0;
- return 0;
+# elif WIN_SDK10
+ ((TWinSdk10File*)fp)->_ptr = ((TWinSdk10File*)fp)->_base;
+ if (((TWinSdk10File*)fp)->_ptr != NULL)
+ ((TWinSdk10File*)fp)->_cnt = 0;
+ return 0;
# elif defined __UCLIBC__ /* uClibc */
# ifdef __STDIO_BUFFERS
if (fp->__modeflags & __FLAG_WRITING)
diff --git a/contrib/tools/bison/gnulib/src/freadahead.c b/contrib/tools/bison/gnulib/src/freadahead.c
index bf53271fd2..d06ace35c3 100644
--- a/contrib/tools/bison/gnulib/src/freadahead.c
+++ b/contrib/tools/bison/gnulib/src/freadahead.c
@@ -56,10 +56,10 @@ freadahead (FILE *fp)
if ((fp_->_flag & _IOWRT) != 0)
return 0;
return fp_->_cnt;
-#elif WIN_SDK10
- if ((((TWinSdk10File*)fp)->_flags & WIN_SDK10_IOWRITE) != 0)
- return 0;
- return ((TWinSdk10File*)fp)->_cnt;
+#elif WIN_SDK10
+ if ((((TWinSdk10File*)fp)->_flags & WIN_SDK10_IOWRITE) != 0)
+ return 0;
+ return ((TWinSdk10File*)fp)->_cnt;
#elif defined __UCLIBC__ /* uClibc */
# ifdef __STDIO_BUFFERS
if (fp->__modeflags & __FLAG_WRITING)
diff --git a/contrib/tools/bison/gnulib/src/freading.c b/contrib/tools/bison/gnulib/src/freading.c
index 3d7e4e56f0..1ab8fb4aa1 100644
--- a/contrib/tools/bison/gnulib/src/freading.c
+++ b/contrib/tools/bison/gnulib/src/freading.c
@@ -47,8 +47,8 @@ freading (FILE *fp)
# else
return (fp->_flag & _IOREAD) != 0;
# endif
-# elif WIN_SDK10
- return (((TWinSdk10File*)fp)->_flags & WIN_SDK10_IOREAD) != 0;
+# elif WIN_SDK10
+ return (((TWinSdk10File*)fp)->_flags & WIN_SDK10_IOREAD) != 0;
# elif defined __UCLIBC__ /* uClibc */
return (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) != 0;
# elif defined __QNX__ /* QNX */
diff --git a/contrib/tools/bison/gnulib/src/fseeko.c b/contrib/tools/bison/gnulib/src/fseeko.c
index 16404b71eb..de838f01a4 100644
--- a/contrib/tools/bison/gnulib/src/fseeko.c
+++ b/contrib/tools/bison/gnulib/src/fseeko.c
@@ -82,9 +82,9 @@ fseeko (FILE *fp, off_t offset, int whence)
#elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */
if (fp_->_ptr == fp_->_base
&& (fp_->_ptr == NULL || fp_->_cnt == 0))
-#elif WIN_SDK10
- if (((TWinSdk10File*)fp)->_ptr == ((TWinSdk10File*)fp)->_base
- && (((TWinSdk10File*)fp)->_ptr == NULL || ((TWinSdk10File*)fp)->_cnt == 0))
+#elif WIN_SDK10
+ if (((TWinSdk10File*)fp)->_ptr == ((TWinSdk10File*)fp)->_base
+ && (((TWinSdk10File*)fp)->_ptr == NULL || ((TWinSdk10File*)fp)->_cnt == 0))
#elif defined __UCLIBC__ /* uClibc */
if (((fp->__modeflags & __FLAG_WRITING) == 0
|| fp->__bufpos == fp->__bufstart)
diff --git a/contrib/tools/bison/gnulib/src/fseterr.c b/contrib/tools/bison/gnulib/src/fseterr.c
index 9f7bea13b3..be36991486 100644
--- a/contrib/tools/bison/gnulib/src/fseterr.c
+++ b/contrib/tools/bison/gnulib/src/fseterr.c
@@ -39,8 +39,8 @@ fseterr (FILE *fp)
fp->_flags |= _IOERR;
#elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */
fp_->_flag |= _IOERR;
-#elif WIN_SDK10
- ((TWinSdk10File*)fp)->_flags |= WIN_SDK10_IOERROR;
+#elif WIN_SDK10
+ ((TWinSdk10File*)fp)->_flags |= WIN_SDK10_IOERROR;
#elif defined __UCLIBC__ /* uClibc */
fp->__modeflags |= __FLAG_ERROR;
#elif defined __QNX__ /* QNX */
diff --git a/contrib/tools/bison/gnulib/src/snprintf.c b/contrib/tools/bison/gnulib/src/snprintf.c
index 9c34de3bb2..af0d87d673 100644
--- a/contrib/tools/bison/gnulib/src/snprintf.c
+++ b/contrib/tools/bison/gnulib/src/snprintf.c
@@ -28,7 +28,7 @@
#include "vasnprintf.h"
-#if defined(_MSC_VER) && _MSC_VER < 1900
+#if defined(_MSC_VER) && _MSC_VER < 1900
/* Print formatted output to string STR. Similar to sprintf, but
additional length SIZE limit how much is written into STR. Returns
string length of formatted string (which may be larger than SIZE).
@@ -73,4 +73,4 @@ snprintf (char *str, size_t size, const char *format, ...)
return len;
}
-#endif
+#endif