diff options
author | Simon Josefsson <simon@josefsson.org> | 2012-03-07 10:26:44 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2012-03-07 10:27:54 +0100 |
commit | 2259a29c5ae7c34c7709235c96f47a069c2394bb (patch) | |
tree | f320f84742192dfe418df9bc16d4dd46b974463f /gl | |
parent | 3332d9cab1e9ab8b6c991c7ff0f4a2bda1ea7544 (diff) | |
download | libtasn1-2259a29c5ae7c34c7709235c96f47a069c2394bb.tar.gz libtasn1-2259a29c5ae7c34c7709235c96f47a069c2394bb.tar.bz2 libtasn1-2259a29c5ae7c34c7709235c96f47a069c2394bb.zip |
Update gnulib files.
Diffstat (limited to 'gl')
-rw-r--r-- | gl/errno.in.h | 3 | ||||
-rw-r--r-- | gl/gettext.h | 3 | ||||
-rw-r--r-- | gl/lseek.c | 3 | ||||
-rw-r--r-- | gl/malloc.c | 3 | ||||
-rw-r--r-- | gl/msvc-inval.c | 3 | ||||
-rw-r--r-- | gl/msvc-inval.h | 3 | ||||
-rw-r--r-- | gl/msvc-nothrow.c | 3 | ||||
-rw-r--r-- | gl/msvc-nothrow.h | 3 | ||||
-rw-r--r-- | gl/read-file.c | 3 | ||||
-rw-r--r-- | gl/read-file.h | 3 | ||||
-rw-r--r-- | gl/stdarg.in.h | 3 | ||||
-rw-r--r-- | gl/stddef.in.h | 3 | ||||
-rw-r--r-- | gl/stdint.in.h | 11 | ||||
-rw-r--r-- | gl/stdio-impl.h | 2 | ||||
-rw-r--r-- | gl/stdio.in.h | 5 | ||||
-rw-r--r-- | gl/sys_stat.in.h | 30 | ||||
-rw-r--r-- | gl/time.in.h | 3 | ||||
-rw-r--r-- | gl/unistd.in.h | 3 | ||||
-rw-r--r-- | gl/version-etc.h | 2 |
19 files changed, 49 insertions, 43 deletions
diff --git a/gl/errno.in.h b/gl/errno.in.h index 5271bcd..2f42612 100644 --- a/gl/errno.in.h +++ b/gl/errno.in.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef _@GUARD_PREFIX@_ERRNO_H diff --git a/gl/gettext.h b/gl/gettext.h index 050134a..75875cd 100644 --- a/gl/gettext.h +++ b/gl/gettext.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ #include <config.h> diff --git a/gl/malloc.c b/gl/malloc.c index ffe042b..e0d5c89 100644 --- a/gl/malloc.c +++ b/gl/malloc.c @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ /* written by Jim Meyering and Bruno Haible */ diff --git a/gl/msvc-inval.c b/gl/msvc-inval.c index b7a917d..ba76a7e 100644 --- a/gl/msvc-inval.c +++ b/gl/msvc-inval.c @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ #include <config.h> diff --git a/gl/msvc-inval.h b/gl/msvc-inval.h index 373f9bf..eb6930b 100644 --- a/gl/msvc-inval.h +++ b/gl/msvc-inval.h @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef _MSVC_INVAL_H #define _MSVC_INVAL_H diff --git a/gl/msvc-nothrow.c b/gl/msvc-nothrow.c index f0fea17..e5cf181 100644 --- a/gl/msvc-nothrow.c +++ b/gl/msvc-nothrow.c @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ #include <config.h> diff --git a/gl/msvc-nothrow.h b/gl/msvc-nothrow.h index e066b24..2b71945 100644 --- a/gl/msvc-nothrow.h +++ b/gl/msvc-nothrow.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef _MSVC_NOTHROW_H #define _MSVC_NOTHROW_H diff --git a/gl/read-file.c b/gl/read-file.c index 72ab4e8..0d5ab8b 100644 --- a/gl/read-file.c +++ b/gl/read-file.c @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include <config.h> diff --git a/gl/read-file.h b/gl/read-file.h index b45b76d..a1142b8 100644 --- a/gl/read-file.h +++ b/gl/read-file.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef READ_FILE_H #define READ_FILE_H diff --git a/gl/stdarg.in.h b/gl/stdarg.in.h index 3e0e43f..53104a6 100644 --- a/gl/stdarg.in.h +++ b/gl/stdarg.in.h @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef _@GUARD_PREFIX@_STDARG_H diff --git a/gl/stddef.in.h b/gl/stddef.in.h index 65e1775..17fcaea 100644 --- a/gl/stddef.in.h +++ b/gl/stddef.in.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ /* Written by Eric Blake. */ diff --git a/gl/stdint.in.h b/gl/stdint.in.h index f16a2d4..8e4c822 100644 --- a/gl/stdint.in.h +++ b/gl/stdint.in.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ /* * ISO C 99 <stdint.h> for platforms that lack it. @@ -36,8 +35,10 @@ /* On Android (Bionic libc), <sys/types.h> includes this file before having defined 'time_t'. Therefore in this case avoid including - other system header files; just include the system's <stdint.h>. */ -#if defined __BIONIC__ \ + other system header files; just include the system's <stdint.h>. + Ideally we should test __BIONIC__ here, but it is only defined after + <sys/cdefs.h> has been included; hence test __ANDROID__ instead. */ +#if defined __ANDROID__ \ && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_ # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else @@ -614,5 +615,5 @@ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) #endif #endif /* _@GUARD_PREFIX@_STDINT_H */ -#endif /* !(defined __BIONIC__ && ...) */ +#endif /* !(defined __ANDROID__ && ...) */ #endif /* !defined _@GUARD_PREFIX@_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ diff --git a/gl/stdio-impl.h b/gl/stdio-impl.h index a065c1a..4935795 100644 --- a/gl/stdio-impl.h +++ b/gl/stdio-impl.h @@ -26,6 +26,8 @@ # include <sys/param.h> #endif +#include <errno.h> /* For detecting Plan9. */ + #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ # if defined __DragonFly__ /* DragonFly */ diff --git a/gl/stdio.in.h b/gl/stdio.in.h index 0481930..9dc7c4a 100644 --- a/gl/stdio.in.h +++ b/gl/stdio.in.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ @@ -779,7 +778,7 @@ _GL_CXXALIASWARN (pclose); #elif defined GNULIB_POSIXCHECK # undef pclose # if HAVE_RAW_DECL_PCLOSE -_GL_WARN_ON_USE (pclose, "popen is unportable - " +_GL_WARN_ON_USE (pclose, "pclose is unportable - " "use gnulib module pclose for more portability"); # endif #endif diff --git a/gl/sys_stat.in.h b/gl/sys_stat.in.h index 44b6a1b..e4331c7 100644 --- a/gl/sys_stat.in.h +++ b/gl/sys_stat.in.h @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ /* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ @@ -616,14 +615,33 @@ _GL_WARN_ON_USE (mknodat, "mknodat is not portable - " /* We can't use the object-like #define stat rpl_stat, because of struct stat. This means that rpl_stat will not be used if the user does (stat)(a,b). Oh well. */ -# undef stat -# ifdef _LARGE_FILES +# if defined _AIX && defined stat && defined _LARGE_FILES /* With _LARGE_FILES defined, AIX (only) defines stat to stat64, so we have to replace stat64() instead of stat(). */ -# define stat stat64 # undef stat64 # define stat64(name, st) rpl_stat (name, st) -# else /* !_LARGE_FILES */ +# elif defined __MINGW32__ && defined stat +# ifdef _USE_32BIT_TIME_T + /* The system headers define stat to _stat32i64. */ +# undef _stat32i64 +# define _stat32i64(name, st) rpl_stat (name, st) +# else + /* The system headers define stat to _stat64. */ +# undef _stat64 +# define _stat64(name, st) rpl_stat (name, st) +# endif +# elif defined _MSC_VER && defined stat +# ifdef _USE_32BIT_TIME_T + /* The system headers define stat to _stat32. */ +# undef _stat32 +# define _stat32(name, st) rpl_stat (name, st) +# else + /* The system headers define stat to _stat64i32. */ +# undef _stat64i32 +# define _stat64i32(name, st) rpl_stat (name, st) +# endif +# else /* !(_AIX ||__MINGW32__ || _MSC_VER) */ +# undef stat # define stat(name, st) rpl_stat (name, st) # endif /* !_LARGE_FILES */ _GL_EXTERN_C int stat (const char *name, struct stat *buf) diff --git a/gl/time.in.h b/gl/time.in.h index 5080d45..04cde05 100644 --- a/gl/time.in.h +++ b/gl/time.in.h @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ diff --git a/gl/unistd.in.h b/gl/unistd.in.h index 660094a..1b26c09 100644 --- a/gl/unistd.in.h +++ b/gl/unistd.in.h @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see <http://www.gnu.org/licenses/>. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ diff --git a/gl/version-etc.h b/gl/version-etc.h index c62704c..5548c02 100644 --- a/gl/version-etc.h +++ b/gl/version-etc.h @@ -37,7 +37,7 @@ extern const char version_etc_copyright[]; standard way: command and package names, package version, followed by a short GPLv3+ notice and a list of up to 10 author names. - If COMMAND_NAME is NULL, the PACKAGE is asumed to be the name of + If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION |