forked from Imagelibrary/binutils-gdb
merge from gcc
This commit is contained in:
@@ -117,7 +117,7 @@ lrealpath (const char *filename)
|
||||
{
|
||||
/* 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);
|
||||
|
||||
Reference in New Issue
Block a user