Sha256: bd385a8adab60a9e024354cfe8ca25619a86653798d577b91cd5206708603a2b

Contents?: true

Size: 685 Bytes

Versions: 17

Compression:

Stored size: 685 Bytes

Contents

This file tests the 'patch' functionality, as well as working around a
libiconv compilation issue with glibc >= 2.16.

--- a/srclib/stdio.in.h	2015-08-23 13:59:57.395880263 -0400
+++ b/srclib/stdio.in.h	2015-08-23 14:00:00.047880153 -0400
@@ -695,8 +695,10 @@
 /* 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__) && !__GLIBC_PREREQ(2, 16)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 #endif
+#endif
 
 
 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/mini_portile2-2.0.0/examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile2-2.0.0 examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile2-2.0.0.rc2 examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile2-2.0.0.rc1 examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile-0.7.0.rc4 examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile-0.7.0.rc3 examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile-0.7.0.rc2 examples/libiconv-patches/1-avoid-gets-error.patch
mini_portile-0.7.0.rc1 examples/libiconv-patches/1-avoid-gets-error.patch