--- a/srclib/stdio.in.h
+++ b/srclib/stdio.in.h
@@ -695,8 +695,10 @@ _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. */
+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
+#endif
- 配置编译安装
$ ./configure --prefix=/usr/local
$ make
$ make install
本文介绍了如何在Ubuntu 16.04上下载并安装libiconv库,包括从GNU官方FTP站点获取libiconv-1.14源码,修复一个bug,以及进行配置和编译安装的步骤。
4971

被折叠的 条评论
为什么被折叠?



