projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix recognitions of -SIGname signals
[oweals/busybox.git]
/
libbb
/
simplify_path.c
diff --git
a/libbb/simplify_path.c
b/libbb/simplify_path.c
index 171798e6048cccf517dfc001171a5e30a063b7be..b714c66b6c586e96636c9b352d6df7e0efffd150 100644
(file)
--- a/
libbb/simplify_path.c
+++ b/
libbb/simplify_path.c
@@
-7,7
+7,6
@@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <stdlib.h>
#include "libbb.h"
char *bb_simplify_path(const char *path)
#include "libbb.h"
char *bb_simplify_path(const char *path)
@@
-15,7
+14,7
@@
char *bb_simplify_path(const char *path)
char *s, *start, *p;
if (path[0] == '/')
char *s, *start, *p;
if (path[0] == '/')
- start =
bb_
xstrdup(path);
+ start = xstrdup(path);
else {
s = xgetcwd(NULL);
start = concat_path_file(s, path);
else {
s = xgetcwd(NULL);
start = concat_path_file(s, path);