]> git.lizzy.rs Git - dragonfireclient.git/blob - build/android/patches/libiconv_stdio.patch
Android dependencies updates (#5755)
[dragonfireclient.git] / build / android / patches / libiconv_stdio.patch
1 --- a/srclib/stdio.in.h 2011-08-07 15:42:06.000000000 +0200
2 +++ b/srclib/stdio.in.h 2015-06-10 09:27:58.129056262 +0200
3 @@ -695,8 +696,9 @@ _GL_CXXALIASWARN (gets);
4  /* It is very rare that the developer ever has full control of stdin,
5     so any use of gets warrants an unconditional warning.  Assume it is
6     always declared, since it is required by C89.  */
7 -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
8 +/*_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");*/
9 +#define gets(a) fgets( a, sizeof(*(a)), stdin)
10  #endif
11
12
13 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@