From a1767a1f5d744804958b2ef0516cbd5d33292c0c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 14 Jun 2008 04:28:41 +0000 Subject: dos2unix: do not destroy symlinks and mode of the file being converted. --- libbb/xreadlink.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libbb/xreadlink.c') 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 */ -- cgit v1.2.3