in RH they fixed the bug in another way with the next patch:

Patch applied:
----------
--- nagios-plugins-1.4.15-orig/gl/stdio.in.h    2010-07-27 21:47:15.000000000 
+0100
+++ nagios-plugins-1.4.15/gl/stdio.in.h 2012-06-26 21:12:47.000000000 +0100
@@ -140,8 +140,10 @@
 /* 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 gets
 #undef gets
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
----------


https://bugzilla.redhat.com/show_bug.cgi?id=835621#c6

** Bug watch added: Red Hat Bugzilla #835621
   https://bugzilla.redhat.com/show_bug.cgi?id=835621

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1176277

Title:
  nagios-plug-1.4.16 Compile on ubuntu 13.04 error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios/+bug/1176277/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to