From: Bruno Haible Date: Fri, 30 Jun 2006 14:20:51 +0000 (+0000) Subject: Assume correct S_ISDIR macro. X-Git-Tag: v0.15~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7269097680aeb5c89ffbc07cf57f4e9977c78cc9;p=thirdparty%2Fgettext.git Assume correct S_ISDIR macro. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index edcb44bf7..cc1f22a5c 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,9 @@ +2006-06-27 Bruno Haible + + Assume correct S_ISDIR macro. + * mkdtemp.c: Remove test of STAT_MACROS_BROKEN. + * tmpdir.c: Remove test of STAT_MACROS_BROKEN. + 2006-06-27 Bruno Haible Assume ANSI C header files and functions. diff --git a/gettext-tools/lib/mkdtemp.c b/gettext-tools/lib/mkdtemp.c index 084ba2e14..020b8f964 100644 --- a/gettext-tools/lib/mkdtemp.c +++ b/gettext-tools/lib/mkdtemp.c @@ -59,9 +59,6 @@ #endif #include -#if STAT_MACROS_BROKEN -# undef S_ISDIR -#endif #if !defined S_ISDIR && defined S_IFDIR # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif diff --git a/gettext-tools/lib/tmpdir.c b/gettext-tools/lib/tmpdir.c index 588ec83c3..a00790092 100644 --- a/gettext-tools/lib/tmpdir.c +++ b/gettext-tools/lib/tmpdir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2001-2002 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2001-2002, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -40,9 +40,6 @@ #endif #include -#if STAT_MACROS_BROKEN -# undef S_ISDIR -#endif #if !defined S_ISDIR && defined S_IFDIR # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index 4f69af575..1855424fc 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-06-27 Bruno Haible + + Assume correct S_ISDIR macro. + * tmpdir.m4 (gt_TMPDIR): Remove AC_STAT_MACROS_BROKEN invocation. + 2006-06-27 Bruno Haible Assume working 'const'. diff --git a/gettext-tools/m4/tmpdir.m4 b/gettext-tools/m4/tmpdir.m4 index 0eec7357d..b06402e3e 100644 --- a/gettext-tools/m4/tmpdir.m4 +++ b/gettext-tools/m4/tmpdir.m4 @@ -1,5 +1,5 @@ -# tmpdir.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# tmpdir.m4 serial 2 (gettext-0.15) +dnl Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -8,6 +8,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gt_TMPDIR], [ - AC_STAT_MACROS_BROKEN AC_CHECK_FUNCS(__secure_getenv) ]) diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index c9dc9034c..50c19b9e9 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2006-06-27 Bruno Haible + + Assume correct S_ISDIR macro. + * write-csharp.c: Remove test of STAT_MACROS_BROKEN. + * write-java.c: Likewise. + 2006-04-14 Bruno Haible Assume autoconf >= 2.60. diff --git a/gettext-tools/src/write-csharp.c b/gettext-tools/src/write-csharp.c index 403422137..0511b18ba 100644 --- a/gettext-tools/src/write-csharp.c +++ b/gettext-tools/src/write-csharp.c @@ -31,9 +31,6 @@ #include #include -#if STAT_MACROS_BROKEN -# undef S_ISDIR -#endif #if !defined S_ISDIR && defined S_IFDIR # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif diff --git a/gettext-tools/src/write-java.c b/gettext-tools/src/write-java.c index 041450af8..43989cde2 100644 --- a/gettext-tools/src/write-java.c +++ b/gettext-tools/src/write-java.c @@ -32,9 +32,6 @@ #include #include -#if STAT_MACROS_BROKEN -# undef S_ISDIR -#endif #if !defined S_ISDIR && defined S_IFDIR # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif