projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix TUI support checks in gdb.tui tests.
[deliverable/binutils-gdb.git]
/
libiberty
/
lrealpath.c
diff --git
a/libiberty/lrealpath.c
b/libiberty/lrealpath.c
index 24795fa99e7a8ced8b3ede4198f6625b66227609..d6694c40349916b706d5ba05123d3a9059be3389 100644
(file)
--- a/
libiberty/lrealpath.c
+++ b/
libiberty/lrealpath.c
@@
-1,7
+1,7
@@
/* Libiberty realpath. Like realpath, but more consistent behavior.
Based on gdb_realpath from GDB.
/* Libiberty realpath. Like realpath, but more consistent behavior.
Based on gdb_realpath from GDB.
- Copyright
2003
Free Software Foundation, Inc.
+ Copyright
(C) 2003-2020
Free Software Foundation, Inc.
This file is part of the libiberty library.
This file is part of the libiberty library.
@@
-17,8
+17,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
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., 5
9 Temple Place - Suite 330
,
- Boston, MA 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street - Fifth Floor
,
+ Boston, MA 0211
0-1301
, USA. */
/*
/*
@@
-117,7
+117,7
@@
lrealpath (const char *filename)
{
/* PATH_MAX is bounded. */
char *buf, *rp, *ret;
{
/* PATH_MAX is bounded. */
char *buf, *rp, *ret;
- buf = malloc (path_max);
+ buf =
(char *)
malloc (path_max);
if (buf == NULL)
return NULL;
rp = realpath (filename, buf);
if (buf == NULL)
return NULL;
rp = realpath (filename, buf);
This page took
0.035929 seconds
and
4
git commands to generate.