On 16/05/18 00:03, Pádraig Brady wrote:
> Agreed. I can't think of a case where replacing a self symlink
> is not what you'd want to happen.
>
> Proposed patch is attached.
Now pushed at:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.29-37-gc732388
cheers,
Pádraig
Hi again,
one last comment on this:
Beyond the CRLF problem, I found that the result, returned by tsort on
the file with dos line endings had duplicates. So it is totally
incorrect.
Than I've tried the followling:
Instead of giving this as an input:
15731102 16019755
15731102 15731104
15731102
> I've digged more into this, and I found that unix2dos doesn't fix
> the problem, but just masks the tsort behaviour.
> If you point the tsort result into a file, you will notice, that tsort
> breaks some of the newline chars. The input file seems to be ok.
OK, I've worked on this. The input