#1077881 wcstools-3.9.7 crlf change

Package:
wcstools
Source:
wcstools
Description:
Handle the WCS of a FITS image
Submitter:
Сергей Фёдоров
Date:
2024-08-05 10:24:03 UTC
Severity:
normal
Tags:
#1077881#5
Date:
2024-08-03 23:05:14 UTC
From:
To:
Dear Maintainer,

In the package "wcstools-3.9.7" the program "crlf" changes the symbol 0Dh to 0Ah.
As a result, an empty string appears instead of each 0Dh.

#1077881#10
Date:
2024-08-05 10:17:46 UTC
From:
To:
Hi Sergey,

 From looking at the source code, I can't see this. The original code
just replaces each 0D with a 0A, as it is supposed to do. This does not
introduce an empty string here.

Note that the program does *not* do a "dos-to-unix" conversion, i.e. it
does not change CR+LF into single LF, and it is not documented that it
should do it.

The real purpose of the crlf program is unclear to me; it is included
here because it is part of upstream's source code. If you think that
this is a wcstools bug, please discuss it with upstream. I would rather
just remove the crlf tool if it confuses people.

Best

Ole