Bug 934284

Summary: Update dos2unix to latest upstream version 7.2.2
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User mFusU_j0pU <forgotten_mFusU_j0pU>
Component: BasesystemAssignee: Forgotten User mFusU_j0pU <forgotten_mFusU_j0pU>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bwiedemann, maintenance, pth, tabraham
Version: 13.2   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User mFusU_j0pU 2015-06-10 20:11:12 UTC
Upstream dos2unix contains fixes which can prevent corruption of user data. Better check for erroneous UTF-16 input. And fixed possible corruption when UTF-16 files with binary symbols are converted.
Comment 1 Forgotten User mFusU_j0pU 2015-06-10 20:27:36 UTC
openSuse 13.1 has a much older version of dos2unix, 6.0.3, and lacks more bug fixes. Can I point for the update of 13.1 also to this bug? The product of this bug is "openSUSE Distribution".
Comment 2 Forgotten User mFusU_j0pU 2015-06-10 20:37:11 UTC
For 13.1 I created a separate bug report: https://bugzilla.suse.com/show_bug.cgi?id=934289
Comment 3 Bernhard Wiedemann 2015-06-11 05:36:44 UTC
*** Bug 934289 has been marked as a duplicate of this bug. ***
Comment 4 Benjamin Brunner 2015-06-11 10:08:27 UTC
For openSUSE 13.2, the update should be fine after only the encoding is changed and everything else are just bugfixes.

For 13.1 there are some changes in the default-behaviour, e.g. 
* Change: stdio mode does not automatically set quiet mode.
* Change: stdio mode does not automatically force conversion of binaries.
  An error is returned when the stdin stream contains a binary symbol.

Is there potential that this change breaks other packages depending on dos2unix?
Comment 5 Forgotten User mFusU_j0pU 2015-06-12 06:48:30 UTC
In theory it could, but I'm sure it will not happen. There is hardly any package which build depends on dos2unix. And it is unlikely that in a build binary files are piped through dos2unix.
These changes are for users who accidentally pass binary files to dos2unix.
Comment 6 Benjamin Brunner 2015-06-12 08:05:56 UTC
Alright, thanks for the clarification. Then let's give it a try. Could you submit the 2 updated packages please? We'll start an update.
Comment 8 Forgotten User mFusU_j0pU 2015-06-28 19:33:11 UTC
Updates have been accepted and are available to the public.