projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a36986b
)
whitespace fix
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 26 May 2018 15:42:00 +0000
(17:42 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 26 May 2018 15:42:00 +0000
(17:42 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/xreadlink.c
patch
|
blob
|
history
diff --git
a/libbb/xreadlink.c
b/libbb/xreadlink.c
index 6315033bb02a317bff73fb14ec7cc1aadf9ade08..ead30e499cdb6d36464a3fd8bda53d0bb640135e 100644
(file)
--- a/
libbb/xreadlink.c
+++ b/
libbb/xreadlink.c
@@
-143,7
+143,7
@@
char* FAST_FUNC xmalloc_realpath_coreutils(const char *path)
buf = xmalloc_realpath(path);
if (buf) {
unsigned len = strlen(buf);
-
buf = xrealloc(buf, len + strlen(last_slash) + 2);
+ buf = xrealloc(buf, len + strlen(last_slash) + 2);
buf[len++] = '/';
strcpy(buf + len, last_slash);
}