]> git.pld-linux.org Git - packages/gettext.git/blob - stdio-gets.patch
- dropped *.la files
[packages/gettext.git] / stdio-gets.patch
1 diff -uNr gettext-0.18.1.1.bak/gettext-runtime/gnulib-lib/stdio.in.h gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h
2 --- gettext-0.18.1.1.bak/gettext-runtime/gnulib-lib/stdio.in.h  2010-05-17 21:56:12.000000000 +0200
3 +++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h      2012-08-22 08:31:28.114684793 +0200
4 @@ -140,8 +140,10 @@
5  /* It is very rare that the developer ever has full control of stdin,
6     so any use of gets warrants an unconditional warning.  Assume it is
7     always declared, since it is required by C89.  */
8 +#if defined gets
9  #undef gets
10  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
11 +#endif
12  
13  #if @GNULIB_FOPEN@
14  # if @REPLACE_FOPEN@
15 diff -uNr gettext-0.18.1.1.bak/gettext-tools/gnulib-lib/stdio.in.h gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h
16 --- gettext-0.18.1.1.bak/gettext-tools/gnulib-lib/stdio.in.h    2010-05-24 11:42:46.000000000 +0200
17 +++ gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h        2012-08-22 08:30:43.291594287 +0200
18 @@ -140,8 +140,10 @@
19  /* It is very rare that the developer ever has full control of stdin,
20     so any use of gets warrants an unconditional warning.  Assume it is
21     always declared, since it is required by C89.  */
22 +#if defined gets
23  #undef gets
24  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
25 +#endif
26  
27  #if @GNULIB_FOPEN@
28  # if @REPLACE_FOPEN@
29 diff -uNr gettext-0.18.1.1.bak/gettext-tools/libgettextpo/stdio.in.h gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h
30 --- gettext-0.18.1.1.bak/gettext-tools/libgettextpo/stdio.in.h  2010-05-17 21:58:03.000000000 +0200
31 +++ gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h      2012-08-22 08:30:11.345100689 +0200
32 @@ -140,8 +140,10 @@
33  /* It is very rare that the developer ever has full control of stdin,
34     so any use of gets warrants an unconditional warning.  Assume it is
35     always declared, since it is required by C89.  */
36 +#if defined gets
37  #undef gets
38  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
39 +#endif
40  
41  #if @GNULIB_FOPEN@
42  # if @REPLACE_FOPEN@
This page took 0.028587 seconds and 3 git commands to generate.