summaryrefslogtreecommitdiff
path: root/libbb/xreadlink.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-14 04:28:41 +0000
committerDenis Vlasenko2008-06-14 04:28:41 +0000
commita1767a1f5d744804958b2ef0516cbd5d33292c0c (patch)
tree9f8d284587e8270cf6be2b1f7f5033f1f21c884d /libbb/xreadlink.c
parent21765fa063830923d13426ec6989c16da9210e49 (diff)
downloadbusybox-a1767a1f5d744804958b2ef0516cbd5d33292c0c.zip
busybox-a1767a1f5d744804958b2ef0516cbd5d33292c0c.tar.gz
dos2unix: do not destroy symlinks and mode of the file being converted.
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r--libbb/xreadlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c
index 706a3d9..0b961b6 100644
--- a/libbb/xreadlink.c
+++ b/libbb/xreadlink.c
@@ -54,7 +54,6 @@ char *xmalloc_follow_symlinks(const char *path)
goto jump_in;
while (1) {
-
linkpath = xmalloc_readlink(buf);
if (!linkpath) {
/* not a symlink, or doesn't exist */