diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-14 04:28:41 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-14 04:28:41 +0000 |
commit | a1767a1f5d744804958b2ef0516cbd5d33292c0c (patch) | |
tree | 9f8d284587e8270cf6be2b1f7f5033f1f21c884d /libbb/xreadlink.c | |
parent | 21765fa063830923d13426ec6989c16da9210e49 (diff) |
dos2unix: do not destroy symlinks and mode of the file being converted.
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r-- | libbb/xreadlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c index 706a3d9ff..0b961b6f9 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 */ |