Sha256: 4ea0d10a5671a99b958499336539327f90c6d484baf0113baa945ef99c78e8c5

Contents?: true

Size: 614 Bytes

Versions: 54

Compression:

Stored size: 614 Bytes

Contents

--- a/srclib/stdio.in.h	2017-01-22 01:23:00.000000000 -0400
+++ b/srclib/stdio.in.h	2017-01-22 01:24:00.000000000 -0400
@@ -695,8 +695,14 @@
 /* It is very rare that the developer ever has full control of stdin,
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
+# ifdef __GLIBC_PREREQ 
+#  if !__GLIBC_PREREQ(2, 16)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#  endif
+# endif
+#endif
 #endif
 
 
 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
tiny_tds-2.1.7-x64-mingw-ucrt patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.7-x64-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.7-x86-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.7 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.6-x86-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.6-x64-mingw-ucrt patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.6-x64-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.6 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.5-x64-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.5-x86-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.5 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4-x64-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4-x86-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4.pre2-x64-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4.pre2-x86-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4.pre2 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4.pre-x64-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4.pre-x86-mingw32 patches/libiconv/1.14/1-avoid-gets-error.patch
tiny_tds-2.1.4.pre patches/libiconv/1.14/1-avoid-gets-error.patch