projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in fork-child.c
[deliverable/binutils-gdb.git]
/
gnulib
/
import
/
canonicalize-lgpl.c
diff --git
a/gnulib/import/canonicalize-lgpl.c
b/gnulib/import/canonicalize-lgpl.c
index 4b1f6cb40ffbc9cd112331d1ce3af0b318431cec..7d3c710f10f0d98713068d30dba4227d0da83c72 100644
(file)
--- a/
gnulib/import/canonicalize-lgpl.c
+++ b/
gnulib/import/canonicalize-lgpl.c
@@
-1,5
+1,5
@@
/* Return the canonical absolute name of a given file.
/* Return the canonical absolute name of a given file.
- Copyright (C) 1996-20
16
Free Software Foundation, Inc.
+ Copyright (C) 1996-20
20
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
@@
-13,7
+13,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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, see <http://www.gnu.org/licenses/>. */
+ along with this program. If not, see <http
s
://www.gnu.org/licenses/>. */
#ifndef _LIBC
/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc
#ifndef _LIBC
/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc
@@
-59,8
+59,10
@@
*/
# undef getcwd
# endif
*/
# undef getcwd
# endif
-# ifdef VMS
- /* We want the directory in Unix syntax, not in VMS syntax. */
+# if defined VMS && !defined getcwd
+ /* We want the directory in Unix syntax, not in VMS syntax.
+ The gnulib override of 'getcwd' takes 2 arguments; the original VMS
+ 'getcwd' takes 3 arguments. */
# define __getcwd(buf, max) getcwd (buf, max, 0)
# else
# define __getcwd getcwd
# define __getcwd(buf, max) getcwd (buf, max, 0)
# else
# define __getcwd getcwd
@@
-93,9
+95,9
@@
static void
alloc_failed (void)
{
static void
alloc_failed (void)
{
-#if
(defined _WIN32 || defined __WIN32__)
&& ! defined __CYGWIN__
+#if
defined _WIN32
&& ! defined __CYGWIN__
/* Avoid errno problem without using the malloc or realloc modules; see:
/* Avoid errno problem without using the malloc or realloc modules; see:
- http
://lists.gnu.org/archive/html
/bug-gnulib/2016-08/msg00025.html */
+ http
s://lists.gnu.org/r
/bug-gnulib/2016-08/msg00025.html */
errno = ENOMEM;
#endif
}
errno = ENOMEM;
#endif
}
@@
-268,6
+270,8
@@
__realpath (const char *name, char *resolved)
#endif
*dest = '\0';
#endif
*dest = '\0';
+ /* FIXME: if lstat fails with errno == EOVERFLOW,
+ the entry exists. */
#ifdef _LIBC
if (__lxstat64 (_STAT_VER, rpath, &st) < 0)
#else
#ifdef _LIBC
if (__lxstat64 (_STAT_VER, rpath, &st) < 0)
#else
This page took
0.025202 seconds
and
4
git commands to generate.