dos2unix: do not destroy symlinks and mode of the file being converted.

This commit is contained in:
Denis Vlasenko
2008-06-14 04:28:41 +00:00
parent 21765fa063
commit a1767a1f5d
2 changed files with 18 additions and 16 deletions

View File

@@ -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 */