mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
Update gnulib to 8f4538a53d64054ae2fc8b86c0f87c418c6176e6
Includes gnulib:0c907f7da13232908f05c415b8cec56024071906 to fix #49930 https://lists.gnu.org/archive/html/bug-guile/2021-08/msg00003.html.
This commit is contained in:
parent
5df5555d12
commit
b4a80f4239
304 changed files with 4264 additions and 3003 deletions
|
@ -1,18 +1,18 @@
|
|||
/* Substitute for and wrapper around <unistd.h>.
|
||||
Copyright (C) 2003-2021 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
This file is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2.1 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
This file is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _@GUARD_PREFIX@_UNISTD_H
|
||||
|
||||
|
@ -1521,6 +1521,7 @@ _GL_WARN_ON_USE (group_member, "group_member is unportable - "
|
|||
# undef isatty
|
||||
# define isatty rpl_isatty
|
||||
# endif
|
||||
# define GNULIB_defined_isatty 1
|
||||
_GL_FUNCDECL_RPL (isatty, int, (int fd));
|
||||
_GL_CXXALIAS_RPL (isatty, int, (int fd));
|
||||
# elif defined _WIN32 && !defined __CYGWIN__
|
||||
|
@ -2027,15 +2028,23 @@ _GL_WARN_ON_USE (sleep, "sleep is unportable - "
|
|||
#if @GNULIB_MDA_SWAB@
|
||||
/* On native Windows, map 'swab' to '_swab', so that -loldnames is not
|
||||
required. In C++ with GNULIB_NAMESPACE, avoid differences between
|
||||
platforms by defining GNULIB_NAMESPACE::creat always. */
|
||||
platforms by defining GNULIB_NAMESPACE::swab always. */
|
||||
# if defined _WIN32 && !defined __CYGWIN__
|
||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||
# undef swab
|
||||
# define swab _swab
|
||||
# endif
|
||||
_GL_CXXALIAS_MDA (swab, void, (char *from, char *to, int n));
|
||||
/* Need to cast, because in old mingw the arguments are
|
||||
(const char *from, char *to, size_t n). */
|
||||
_GL_CXXALIAS_MDA_CAST (swab, void, (char *from, char *to, int n));
|
||||
# else
|
||||
# if defined __hpux /* HP-UX */
|
||||
_GL_CXXALIAS_SYS (swab, void, (const char *from, char *to, int n));
|
||||
# elif defined __sun && !defined _XPG4 /* Solaris */
|
||||
_GL_CXXALIAS_SYS (swab, void, (const char *from, char *to, ssize_t n));
|
||||
# else
|
||||
_GL_CXXALIAS_SYS (swab, void, (const void *from, void *to, ssize_t n));
|
||||
# endif
|
||||
# endif
|
||||
_GL_CXXALIASWARN (swab);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue