diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /pcr/nagios-plugins/stdio.patch | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/nagios-plugins/stdio.patch')
-rw-r--r-- | pcr/nagios-plugins/stdio.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/nagios-plugins/stdio.patch b/pcr/nagios-plugins/stdio.patch new file mode 100644 index 000000000..f87d313b5 --- /dev/null +++ b/pcr/nagios-plugins/stdio.patch @@ -0,0 +1,14 @@ +diff -Naur nagios-plugins-1.4.16-orig/gl/stdio.in.h nagios-plugins-1.4.16-patched/gl/stdio.in.h +--- nagios-plugins-1.4.16-orig/gl/stdio.in.h 2012-06-27 19:32:47.000000000 +0200 ++++ nagios-plugins-1.4.16-patched/gl/stdio.in.h 2012-08-09 06:29:26.038030953 +0200 +@@ -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. */ ++#ifdef gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ |