mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
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