* [gentoo-commits] gentoo-x86 commit in dev-util/complexity/files: complexity-0.4-gets.patch
@ 2012-08-11 15:35 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2012-08-11 15:35 UTC (permalink / raw
To: gentoo-commits
jer 12/08/11 15:35:02
Added: complexity-0.4-gets.patch
Log:
Fix building against sys-libs/glibc-2.16 by Diego Elio Pettenò (bug #430826).
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-util/complexity/files/complexity-0.4-gets.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/complexity/files/complexity-0.4-gets.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/complexity/files/complexity-0.4-gets.patch?rev=1.1&content-type=text/plain
Index: complexity-0.4-gets.patch
===================================================================
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -720,8 +720,9 @@
#if @GNULIB_GETS@
# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# undef gets
-# define gets rpl_gets
+# ifdef gets
+# undef gets
+# define gets rpl_gets
# endif
_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (gets, char *, (char *s));
@@ -734,6 +735,7 @@
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+# endif
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-util/complexity/files: complexity-0.4-gets.patch
@ 2013-02-17 18:19 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2013-02-17 18:19 UTC (permalink / raw
To: gentoo-commits
jer 13/02/17 18:19:13
Removed: complexity-0.4-gets.patch
Log:
Old.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key A792A613)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-17 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17 18:19 [gentoo-commits] gentoo-x86 commit in dev-util/complexity/files: complexity-0.4-gets.patch Jeroen Roovers (jer)
-- strict thread matches above, loose matches on Subject: below --
2012-08-11 15:35 Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox