bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] float: fix broken MirBSD header


From: Eric Blake
Subject: [PATCH] float: fix broken MirBSD header
Date: Mon, 13 Sep 2010 14:46:03 -0600

* m4/float_h.m4 (gl_FLOAT_H): MirBSD copied OpenBSD's bug.
* doc/posix-headers/float.texi (float.h): Document it.

Signed-off-by: Eric Blake <address@hidden>
---

The fix turned out to be rather trivial, given that OpenBSD has the
same bug.  Honestly, sometimes I wonder how much standards-compliance
testing any of the *BSD systems do on their headers.

 ChangeLog                    |    6 ++++++
 doc/posix-headers/float.texi |    2 +-
 m4/float_h.m4                |    4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f2c8301..76fdacb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-13  Eric Blake  <address@hidden>
+
+       float: fix broken MirBSD header
+       * m4/float_h.m4 (gl_FLOAT_H): MirBSD copied OpenBSD's bug.
+       * doc/posix-headers/float.texi (float.h): Document it.
+
 2010-09-13  Paul Eggert  <address@hidden>

        fts: use O_NOFOLLOW to avoid race condition when opening a directory
diff --git a/doc/posix-headers/float.texi b/doc/posix-headers/float.texi
index 7d2e79e..476fd16 100644
--- a/doc/posix-headers/float.texi
+++ b/doc/posix-headers/float.texi
@@ -9,7 +9,7 @@ float.h
 @itemize
 @item
 The values of @code{LDBL_*} macros are incorrect on some platforms:
-On OpenBSD 4.0 and BeOS, they are the same as the values of the
+On OpenBSD 4.0, MirBSD 10, and BeOS, they are the same as the values of the
 @code{DBL_*} macros, although @samp{long double} is a larger type than
 @samp{double}.
 @end itemize
diff --git a/m4/float_h.m4 b/m4/float_h.m4
index a74a0d9..f6099db 100644
--- a/m4/float_h.m4
+++ b/m4/float_h.m4
@@ -1,4 +1,4 @@
-# float_h.m4 serial 3
+# float_h.m4 serial 4
 dnl Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FLOAT_H],
   AC_REQUIRE([AC_CANONICAL_HOST])
   FLOAT_H=
   case "$host_os" in
-    beos* | openbsd*)
+    beos* | openbsd* | mirbsd*)
       FLOAT_H=float.h
       gl_CHECK_NEXT_HEADERS([float.h])
       ;;
-- 
1.7.2.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]