Major coreutils update.
This commit is contained in:
@ -38,7 +38,7 @@ extern char *concat_path_file(const char *path, const char *filename)
|
||||
lc = last_char_is(path, '/');
|
||||
while (*filename == '/')
|
||||
filename++;
|
||||
bb_asprintf(&outbuf, "%s%s%s", path, (lc==NULL)? "/" : "", filename);
|
||||
bb_xasprintf(&outbuf, "%s%s%s", path, (lc==NULL)? "/" : "", filename);
|
||||
|
||||
return outbuf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user