Bug 80493
Summary: | unix2dos fails when converting a file not in partition of CWD | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | greg hosler <greg> | ||||||
Component: | unix2dos | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | CC: | tao | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-05-20 00:35:33 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 132991 | ||||||||
Attachments: |
|
Description
greg hosler
2002-12-27 06:06:35 UTC
Created attachment 88941 [details]
SRPM containing patch file and updated version # for fix.
proposed patch creates the temp file in the same directory as the original
file, generally guaranteeing that the rename() will succeed.
Created attachment 104623 [details] unix2dos-2.2-fnames.patch Same as bug 80492 but for unix2dos. unix2dos and dos2unix have a number of open issues in bugzilla currently, and new ones seem to be discovered more and more with the new tools available on current generation distributions. There are a variety of problems with these utilities, roughly in order: 1) There is no upstream maintainer or canonical source, nor new versions released by the previous maintainers. Our rpm is more or less a custom Red Hat fork-by-patch-accumulation effort, which over time is becoming a bit of a mess (IMHO). 2) As we fix bugs, the fixes haven't gotten propagated back to older OS releases as erratum, so some of the same bugs get found and reported on older OS releases again, etc. 3) The code is kindof ugly/wonky, and could really use a cleanup, security audit, stability/reliability audit. They're both simple utilities, which makes it a bit humorous there is so much wrong with them. ;o) I'm going to review all open issues with these utils, figure out which ones are relevant for FC4 dos2unix/unix2dos, and apply patches, create new fixes, etc. and consider putting them in CVS on sourceforge or somewhere external. Defering this until Jan 24th, but still targetting for RHEL3_U5 Fixed in unix2dos-2.2-19.EL.24 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-195.html |