Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317182 Details for
Bug 424755
app-editors/emacs-24.1 fails to build on ARM (and glibc-2.16) : ./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch extracted from upstream repo
108385_108384.diff (text/plain), 947 bytes, created by
Ulrich Müller
on 2012-07-04 23:05:00 UTC
(
hide
)
Description:
Patch extracted from upstream repo
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2012-07-04 23:05:00 UTC
Size:
947 bytes
patch
obsolete
>--- lib/stdio.in.h 2011-09-26 21:30:18 +0000 >+++ lib/stdio.in.h 2012-05-26 23:14:36 +0000 >@@ -699,22 +699,11 @@ > # endif > #endif > >-#if @GNULIB_GETS@ >-# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ >-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) >-# 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)); >-# else >-_GL_CXXALIAS_SYS (gets, char *, (char *s)); >-# undef gets >-# endif >-_GL_CXXALIASWARN (gets); > /* 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. */ >+ so any use of gets warrants an unconditional warning; besides, C11 >+ removed it. */ >+#undef gets >+#if HAVE_RAW_DECL_GETS > _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 424755
:
317121
|
317123
|
317167
|
317169
|
317182