dos2unix: do not destroy symlinks and mode of the file being converted.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user