Subject: bug#31472: tsort reporting false loop in input. unix2dos fixes the problem.

From: Assaf Gordon <[email-masked]>
Date: Mon, 29 Oct 2018 21:25:29 -0600

tags 31472 notabug
close 31472
stop

Hello,

On 2018-05-16 10:16 a.m., Bernhard Voelker wrote:
> This replaces "\n" by "\r\n", and of course changes the way tsort
> works. If your suspicion was that the file has Windows-style
> line-endings, then you would have had to use 'dos2unix'.

On 2018-05-17 2:54 a.m., Ivan Ivanov wrote:
> 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.

The conclusion of the thread is that dos/windows/mac line endings
will affect "tsort" (as expected - since tsort treats them as normal 
characters which change the sorted string).

As such, I'm closing this bug.
Discussion can continue by replying to this thread.

-assaf