Dos2Unix Changelog

What's new in Dos2Unix 7.5.3 Beta 1

Mar 26, 2024
  • Stopped using deprecated po4a-translate and po4a-updatepo tools.

New in Dos2Unix 7.5.1 (Aug 31, 2023)

  • Fixed problem of converting a symbolic link target that is on another file system. Updated Chinese and Serbian translations.

New in Dos2Unix 7.5.0 (May 18, 2023)

  • New option -e, --add-eol to add a line break to the last line if there isn't one. Option --no-add-eol disables the feature.
  • New option -O, --to-stdout to write to standard output.

New in Dos2Unix 7.5.0 Beta 5 (May 1, 2023)

  • Fixed switching from new-file mode to to-stdout mode.

New in Dos2Unix 7.5.0 Beta 3 (Apr 21, 2023)

  • New option -O, --to-stdout to write to standard output.

New in Dos2Unix 7.5.0 Beta 1 (Apr 6, 2023)

  • New option -e, --add-eol to add a line break to the last line if there isn't one.

New in Dos2Unix 7.4.4 (Feb 13, 2023)

  • New Catalan, Georgian, Romanian, and Korean translations of the UI messages. New Korean and Romanian translations of the manual.

New in Dos2Unix 7.4.4 Beta 6 (Jan 27, 2023)

  • New Georgian translation of the UI messages.

New in Dos2Unix 7.4.4 Beta 5 (Jan 12, 2023)

  • Updated manual transaltions.

New in Dos2Unix 7.4.4 Beta 2 (Sep 9, 2022)

  • New Korean translation of the messages.

New in Dos2Unix 7.4.4 Beta 1 (Aug 14, 2022)

  • New Catalan translation of the messages.

New in Dos2Unix 7.4.3 (Aug 14, 2022)

  • New Serbian translation of the manual. Updated Esperanto translation.

New in Dos2Unix 7.4.2 (Apr 3, 2021)

  • New Friulian tranlation. Updated Dutch, German, Serbian, Traditional Chinese, and Ukrainian translations.

New in Dos2Unix 7.4.2 Beta (Jul 15, 2020)

  • New Friulian tranlation.
  • Updated German and Serbian translations.

New in Dos2Unix 7.4.1 (Sep 25, 2019)

  • Updated Danish, German, Hungarian, Japanese and Ukranian translations. Code cleanup.

New in Dos2Unix 7.4.0 (Oct 11, 2017)

  • New option --allow-chown to allow file ownership change in old file mode.

New in Dos2Unix 7.4.0 Beta 1 (Sep 25, 2017)

  • Fixed typos in code and manual.

New in Dos2Unix 7.3.6 Beta 4 (Sep 21, 2017)

  • Minor update manual.

New in Dos2Unix 7.3.6 Beta 3 (Sep 11, 2017)

  • When option --allow-chown is used, put the same read/write permissions as in new file mode.

New in Dos2Unix 7.3.6 Beta 2 (Sep 6, 2017)

  • New option --allow-chown to allow file ownership change in old file mode.

New in Dos2Unix 7.3.6 Beta 1 (Aug 7, 2017)

  • Fixed setting the C.UTF-8 locale for running the tests. Code and makefile cleanup.

New in Dos2Unix 7.3.5 (Jul 5, 2017)

  • New flag 0 for option -i to end printed lines with a null character to enable correct file name interpretation when flag c is used. Don't print leading spaces when option -i with flag c is used. Manual updates. Translation updates. Code cleanup. Fixed compilation for MSYS2.

New in Dos2Unix 7.3.5 Beta 5 (Jun 21, 2017)

  • New flag 0 for option -i to end printed lines with a null character to enable correct file name interpretation when flag c is used. Don't print leading spaces when option -i with flag c is used.

New in Dos2Unix 7.3.5 Beta 4 (May 19, 2017)

  • Small manual update, section recursive conversion.

New in Dos2Unix 7.3.5 Beta 3 (Dec 6, 2016)

  • Use by default C.UTF-8 locale for Unicode tests (instead of en_US.UTF-8). Minor update Danish translation.

New in Dos2Unix 7.3.5 Beta 2 (Sep 21, 2016)

  • Code cleanup.

New in Dos2Unix 7.3.5 Beta 1 (May 26, 2016)

  • Fixed compilation for MSYS2 (patch).

New in Dos2Unix 7.3.4 (May 25, 2016)

  • Safer creation of temporary file on Windows.
  • Code cleanup.
  • Update translations.

New in Dos2Unix 7.3.4 Beta 4 (May 17, 2016)

  • Update Dutch messages.
  • Fix malloc() check in glob_warg().

New in Dos2Unix 7.3.4 Beta 3 (May 3, 2016)

  • Safer creation of temporary file on Windows.

New in Dos2Unix 7.3.4 Beta 1 (May 3, 2016)

  • Code cleanup, fixed all cppcheck warnings. Updated Brazilian Portuguese and Serbian translations. Cross-compile DJGPP from Cygwin.

New in Dos2Unix 7.3.3 (Feb 16, 2016)

  • New flags h (print header) and p (remove path from file name) for option -i, --info. Fixed printing text in unicode UTF-16 mode on Windows, so that when it is redirected to a file, a correct UTF-16 file is created.
  • Fixed printing of East-Asian text on Windows with an East-Asian regional setting

New in Dos2Unix 7.3.3 Beta 9 (Feb 6, 2016)

  • Update manual

New in Dos2Unix 7.3.3 Beta 8 (Feb 3, 2016)

  • New flags h (print header) and p (remove path from file name) for option -i, --info

New in Dos2Unix 7.3.3 Beta 7 (Feb 3, 2016)

  • Don't install international man pages when native language support is disabled.

New in Dos2Unix 7.3.3 Beta 6 (Feb 3, 2016)

  • Updated manual, recursive converion in PowerShell.

New in Dos2Unix 7.3.3 Beta 5 (Jan 26, 2016)

  • Updated manual, option -D.

New in Dos2Unix 7.3.3 Beta 4 (Jan 22, 2016)

  • Fixed printing text in unicode UTF-16 mode on Windows, so that when it is redirected to a file, a correct UTF-16 file is created..

New in Dos2Unix 7.3.3 Beta 3 (Jan 17, 2016)

  • Fixed printing of East-Asian text on Windows with an East-Asian regional setting.

New in Dos2Unix 7.3.3 Beta 2 (Jan 17, 2016)

  • Removed mingw specific makefiles.

New in Dos2Unix 7.3.3 Beta 1 (Jan 17, 2016)

  • Update Serbian translation. Update manual: binary file detection is not foolproof.
  • moved git repo. To clone the repo type: git clone git://git.code.sf.net/p/dos2unix/dos2unix
  • dos2unix moved to git. The dos2unix source code repository moved from Subversion to Git.

New in Dos2Unix 7.3.2 (Nov 20, 2015)

  • New: Swedish translation of messages and manual.
  • Updated: Danish and Brazilian Portuguese translations.
  • Fix: The -iso option was misinterpreted as a corrupted -i option
  • Fix: Compilation for MSYS 1.

New in Dos2Unix 7.3.1 (Oct 6, 2015)

  • New simplified Chinese translation of the messages and manual.
  • Fixed compile error "wchar_t undefined" when Unicode support is disabled.
  • Fix compilation for MinGW (mingw.org). MinGW-w64 was OK.

New in Dos2Unix 7.3 (Sep 18, 2015)

  • New: Unicode file name support on Windows.
  • Fix: Options -ul and -ub caused option -i to report wrong BOM for no_bom.

New in Dos2Unix 7.3.1 Beta 2 (Sep 18, 2015)

  • New simplified Chinese translation. Updated Polish translation.

New in Dos2Unix 7.3.1 Beta 1 (Sep 18, 2015)

  • Fix compilation for MinGW (mingw.org). MinGW-w64 was OK.

New in Dos2Unix 7.3 Beta 10 (Aug 17, 2015)

  • Fix: Options -ul and -ub caused option -i to report wrong BOM for no_bom.

New in Dos2Unix 7.3 Beta 9 (Aug 17, 2015)

  • Updated the manual, option -D.

New in Dos2Unix 7.3 Beta 8 (Aug 11, 2015)

  • Method for printing Unicode on Windows can be changed with environment variable DOS2UNIX_DISPLAY_ENC. Updated the manual.

New in Dos2Unix 7.3 Beta 7 (Aug 7, 2015)

  • New option -D, --display-enc, for controlling how messages are printed in the windows console.
  • Updated the manual.

New in Dos2Unix 7.3 Beta 6 (Aug 4, 2015)

  • Fixed a problem of printing Unicode file names when NLS was enabled. Updated the manual.

New in Dos2Unix 7.3 Beta 5 (Jul 30, 2015)

  • Some code cleanup and translation updates.

New in Dos2Unix 7.3 Beta 4 (Jul 21, 2015)

  • Fixed issues with printing Unicode file names on Windows.
  • Cleanup of some messages

New in Dos2Unix 7.3 Beta 3 (Jul 14, 2015)

  • Fixed a problem in globbing unicode file names.

New in Dos2Unix 7.3 Beta 2 (Jul 14, 2015)

  • Minor updates for unicode file name support.

New in Dos2Unix 7.3 Beta 1 (Jul 14, 2015)

  • New: Unicode file name support in the Windows Console.

New in Dos2Unix 7.2.3 (Jul 2, 2015)

  • Fix: Check for file I/O errors while reading input files, and added a few missing checks while writing output files. Fix compilation for msys.

New in Dos2Unix 7.2.3 Beta 5 (Jun 29, 2015)

  • Fixed false warning on 0 byte file. (was introduced in beta3).

New in Dos2Unix 7.2.3 Beta 4 (Jun 29, 2015)

  • Don't print "converting file ... to ..." when there was an error.
  • Enable UTF-16 support by default on MSYS.
  • Updated translations.

New in Dos2Unix 7.2.3 Beta 3 (Jun 25, 2015)

  • Check for file I/O errors with every file access.
  • Bug fix. Check for file I/O errors with every file access.
  • New functions d2u_getc_error, d2u_putc_error, and d2u_putwc_error for printing error messages
  • Fix compilation for msys

New in Dos2Unix 7.2.3 Beta 1 (May 28, 2015)

  • Fix compilation for msys.

New in Dos2Unix 7.2.2 (May 23, 2015)

  • djgpp.mak: Fixed target strip.

New in Dos2Unix 7.2.2 Beta 4 (May 12, 2015)

  • Check UTF-16 for invalid surrogate pairs. Print system error and line number when UTF-16 conversion error occurs.

New in Dos2Unix 7.2.2 Beta 2 (May 4, 2015)

  • Bug fix. When conversion of an UTF-16 file with binary symbols was forced, null characters were not written in the output.

New in Dos2Unix 7.2.2 Beta 1 (May 4, 2015)

  • Skip GB18030 test on FreeBSD. Fix symlink support on FreeBSD.

New in Dos2Unix 7.2.1 (Apr 2, 2015)

  • test/misc.t: Fix test for -f option.
  • test/chk_loc.sh: New script to test if locale is supported.
  • test/Makefile: Skip gb18030 test if zh_CN.gb18030 locale is not supported.
  • man/man1/dos2unix.pod: Update section GB18030 and option -m.

New in Dos2Unix 7.2 (Feb 12, 2015)

  • common.c,dos2unix.c,unix2dos.c: Use %u in format strings for unsigned ints.
  • common.c: Fixed typo in if condition in write_bom().
  • test/gb18030.t: Added more tests.
  • Makefile: Fixed wrong encoded titles in HTML manuals when Perl 5.18 pod2html was used.
  • Makefile, man/man1/Makefile: add option --no-wrap to xgettext and msgmerge. Translation Project standard is not to wrap.
  • man/man1/dos2unix.pod: Point to gettext manual html nodes instead of the full gettext manual.
  • man/man1/dos2unix.pod: Cleanup man page.
  • common.c: Changed some messages for better translations.
  • common.c: Fix. On Windows when option -gb is used, option -m must add GB18030 BOM i.s.o. UTF-8 BOM.
  • test/gb18030.t: Make tests working for Windows version.
  • common.c: Fix. In a GB18030 locale, option -m must add GB18030 BOM i.s.o. UTF-8 BOM.
  • test/gb18030.t: New tests for GB18030.
  • man/man1/dos2unix.pod: Update section GB18030.
  • common.c: When the input file is UTF-16, the input and output formats are printed.
  • common.c: On Unix/Linux convert UTF-16 to the locale encoding. It is no longer required that the locale encoding is UTF-8. When conversion is not possible an error will occur and conversion will be skipped.
  • common.c, common.h: Support conversion of UTF-16 to GB18030.
  • man/man1/dos2unix.pod: Update with info about GB18030.
  • po/ja.po: New Japanese translation of the UI messages.

New in Dos2Unix 7.1 (Feb 12, 2015)

  • common.c: Fixed possible uninitialized use of variable bomtype_orig.
  • djgpp.mak: Fix time stamps mac2unix/unix2mac after make strip.
  • mingw32.mak, mingw64.mak: Fixed setting path to CRT_glob.o. Works now independent of MSYS2 install path.
  • Makefile: Added settings for freeMiNT, and cleanup setting OS specific settings.
  • common.c: PrintVersion() updated for freeMiNT.
  • test/misc.t: Added a test for option -i, --info.
  • .po: Included several translation updates.
  • common.c: Program terminates when wrong flag is given for option -i or --info.
  • common.c: Option -i, flag c: don't print binary files when conversion of binaries is not forced.
  • common.c: Options -i, --info can have extra flags to change the output. For instance to print only the number of Unix line breaks, or print only the files that have DOS line breaks.
  • man/man1/dos2unix.pod: Updated.
  • common.c: New option -i, --info, display file information. This new option prints number of line breaks, the byte order mark, and if the file is text or binary.
  • man/man1/dos2unix.pod: Added option -i.
  • test/*.t: Use Test::Simple iso Test::More.

New in Dos2Unix 7.0 (Feb 12, 2015)

  • common.c: Option -V prints home page.
  • dos2unix.c, unix2dos.c: Return an error number in stdio mode when the input is binary. In stdio mode an input stream with a binary symbol produces broken output. In file mode the binary file is skipped.
  • test/misc.t: Added tests for above.
  • dos2unix.c, unix2dos.c, common.c: Bug fix. System error number was not always returned. When disk is full and output can't be written, or when resolving a symlink fails.
  • common.c: Bug fix. Option -u disabled -m for ASCII or UTF-8 input files without BOM. Bug was introduced on 2014-08-05.
  • dos2unix.c, unix2dos.c, common.c: Bug fix. An Unicode input file disabled 7bit and iso mode also for next input files. Bug was introduced in version 6.0.1 on 2012-03-23.
  • common.c: Cleanup. Don't write BOM when conversion will be cancelled.
  • test/misc.t: Added tests for the two bug fixes.
  • dos2unix.c, unix2dos.c, common.c: Code cleanup. Moved more code to common.c.
  • common.c: Bug fix mac2unix help text, options -b and -r. Bug was introduced in 6.0.6.
  • po: Included updated pt_BR translations.
  • dos2unix.c, unix2dos.c, common.c: stdio mode does not automatically set quiet mode. stdio mode prints errors and returns error code.
  • dos2unix.c, unix2dos.c: stdio mode does not automatically force conversion of binaries.
  • test/symlink.t: New tests for options -F, -R, -S
  • po: Included updated nl,nb ,vi translations.
  • .po: Included updated nl,pl,ru translations.
  • unix2dos.c: Fix: Unix2dos did not count UTF-16 line break conversions.
  • INSTALL.txt: Update for running self-tests.
  • .po: Included updated fr,de,uk translations.
  • test: Added more tests.
  • test: Use TAP (Test Anything Protocol) to run tests. Requires perl module perl-Test-Simple.
  • test: Added automated tests.
  • dos2unix.c: Bug fix: dos2unix -l created DOS line breaks from Mac line breaks. This bug was introduced in version 3.2, by safeconv patch.
  • INSTALL.txt: Update for DJGPP. Use gcc

New in Dos2Unix 6.1 Beta 6 (Sep 5, 2014)

  • dos2unix.c, unix2dos.c: Return an error in stdio mode when the input is binary. In stdio mode an input stream with a binary symbol produces broken output. In file mode the binary file is skipped.
  • test/misc.t: Added tests for above.
  • dos2unix.c, unix2dos.c, common.c: Bug fix. System error was not always returned. When disk is full and output can't be written, or when resolving a symlink fails.

New in Dos2Unix 6.1 Beta 1 (Aug 18, 2014)

  • Added automated tests.

New in Dos2Unix 6.0.7 Beta 3 (Aug 14, 2014)

  • Updated manual wrt Unicode and help message for -m.

New in Dos2Unix 6.0.7 Beta 2 (Aug 14, 2014)

  • New option -v: Verbose. Print extra information about amount of converted line breaks and BOMs.

New in Dos2Unix 6.0.7 Beta 1 (Aug 14, 2014)

  • New option -u: Keep UTF-16 encoding of input file.

New in Dos2Unix 6.0.6 (Aug 14, 2014)

  • Bug fix: mac2unix conversion produced corrupted output from UTF-16 input file. New options -b (keep BOM) and -r (remove BOM). New translation of the UI messages: Norwegian Bokmaal.

New in Dos2Unix 6.0.6 Beta 4 (Jul 10, 2014)

  • Option -r also disables option -m.

New in Dos2Unix 6.0.6 Beta 3 (Jul 8, 2014)

  • New options -b (keep BOM) and -r (remove BOM).

New in Dos2Unix 6.0.6 Beta 2 (Jul 7, 2014)

  • Bug fix: mac2unix conversion produced corrupted output from UTF-16 input file.

New in Dos2Unix 6.0.6 Beta 1 (Jul 7, 2014)

  • Removed dependency on GNU sed. New translation of the UI messages: Norwegian Bokmaal.

New in Dos2Unix 6.0.5 (Apr 18, 2014)

  • Dos2unix is part of the Translation Project (TP). All translations go via the Translation Project.
  • New translations of UI messages: Brazilian Portuguese, Chinese (traditional), Danish, French, Hungarian, Polish, Serbian, Ukrainian, Vietnamese. New translations of the manual: Brazilian Portuguese, French, German, Polish, Ukrainian.
  • Generated man pages are included in the source package to prevent compilation problems with very old or very new perl/pod2man versions.
  • Manuals are now generated from gettext PO files with po4a for easier translation.
  • All manuals are now in UTF-8 encoding.
  • Skip symbolic links on Windows by default (same as on Unix).

New in Dos2Unix 6.0.5 Beta 13 (Apr 12, 2014)

  • Fix for GNU make < 3.82.
  • Update Watcom and VC makefiles.

New in Dos2Unix 6.0.5 Beta 12 (Apr 12, 2014)

  • New Hungarian translation of UI messages.
  • New Polish translation of manual.

New in Dos2Unix 6.0.5 Beta 11 (Apr 12, 2014)

  • Windows version skips by default symbolic links, like the Unix version. Small updates manual.

New in Dos2Unix 6.0.5 Beta 10 (Apr 12, 2014)

  • New French and Brazilian Portuguese translations of the manual.

New in Dos2Unix 6.0.5 Beta 9 (Apr 12, 2014)

  • New Ukrainian translation of the manual.

New in Dos2Unix 6.0.5 Beta 8 (Apr 12, 2014)

  • New German translation of the manual.
  • All manuals are in UTF-8.
  • The manual has been added to the Translation Project

New in Dos2Unix 6.0.5 Beta 7 (Apr 12, 2014)

  • New translations: Chinese (traditional).
  • Perl POD manuals are generated from gettext PO files with po4a.

New in Dos2Unix 6.0.5 Beta 6 (Apr 12, 2014)

  • New translations: Danish and Serbian

New in Dos2Unix 6.0.5 Beta 5 (Apr 12, 2014)

  • New translation: French

New in Dos2Unix 6.0.5 Beta 4 (Apr 12, 2014)

  • New translations: Brazilian Portuguese, Polish, Ukrainian, and Vietnamese. Updated translations: Dutch, and Esperanto

New in Dos2Unix 6.0.5 Beta 3 (Apr 12, 2014)

  • Cleanup messages.Dos2unix has been added to the Translation Project

New in Dos2Unix 6.0.5 Beta 2 (Apr 12, 2014)

  • Include English manual in the source package. Updated makefiles for compilation in MSYS2. Split large help text in pieces for easier translation.

New in Dos2Unix 6.0.5 Beta 1 (Apr 12, 2014)

  • Include non-English manuals in the source package to avoid problems with perl/pod2man manual generation.

New in Dos2Unix 6.0.3 (Jun 12, 2013)

  • Source code compiles with Microsoft Visual C.
  • Print system error when writing output fails.

New in Dos2Unix 6.0.2 (Sep 7, 2012)

  • The locale encoding detection has been fixed when NLS was disabled.
  • Print line number when a binary symbol is found.
  • Updated makefiles for Watcom C, and added a new one for OS/2.

New in Dos2Unix 6.0 (May 7, 2012)

  • man/*/man1/*.pod: Removed =encoding. It is not supported by perl 5.8.8, which is shipped with MinGW and DJGPP.
  • man/*/man1/*.pod: Set encoding explicitly to Latin-1.
  • Makefile: Target 'doc' makes all man pages.
  • mpo/de.po: Update German translations.
  • INSTALL.txt: List the prerequisites.
  • Makefile: Friendlier for DJGPP/MinGW/MSYS.
  • po/eo.po: Update Esperanto translations.
  • Skip UTF-16 file when conversion to UTF-8 goes wrong.
  • Update English and Dutch manual.
  • common.c: Support UTF-16 surrogate pairs.
  • dos2unix.c, unix2dos.c: Check wchar_t size.
  • .c: Use fgetc/fputc instead of getc/putc.
  • po, man: Update Dutch translations.
  • On Unix, convert UTF-16 files only when the locale encoding is UTF-8 to prevent accidental loss of text.
  • Turn off ISO and 7-bit mode if an Unicode text file is detected, to prevent corruption of UTF-8 files.
  • Update English manual.
  • Fix compilation for WatcomC, DJGPP, MSYS, OS/2.
  • Makefile: Support CFLAGS_USER, LDFLAGS_USER, and DEFS_USER for Debian Linux.
  • Support conversion of Unicode UTF-16 from stdin.
  • Update English manual.
  • Support conversion of Unicode UTF-16 encoded files.
  • common.c: Make it compile on Cygwin 1.5.

New in Dos2Unix 5.3.3 (Mar 12, 2012)

  • Makefile: Binary packages with native language support
  • get "-nls" suffix.
  • dos2unix.c, unix2dos.c, mingw64.mak: Enabled wildcard expansion for Win64 (MinGW-w64).
  • wccdos16.mak: Enabled wildcard expansion.
  • wccdos32.mak: Enabled wildcard expansion.
  • wccwin32.mak: Enabled wildcard expansion.
  • bcc.mak: Enabled wildcard expansion.
  • Makefile: New target 'mostlyclean' that preserves the manual files. Target 'clean' removes all built files, it restores the Unix source package to its original state.
  • Makefile: New variable HTMLEXT to override the default 'htm' extension for the manual in HTML format.
  • Makefile, version.mk: Fix a compile error when debug is enabled.
  • Makefile: Enable debugging info for gdb when DEBUG=1 man page: Small update in section RETURN VALUE.

New in Dos2Unix 5.3.2 (Jan 28, 2012)

  • os2.mak: Enable support for wild cards (-Zargs-wild).
  • querycp.c: Extra comment from Rugxulo.
  • querycp.c: Undid change of 2011-11-12. MSYS version
  • behaves as Cygwin version.
  • wccdos32.mak: New makefile for Open Watcom for DOS32.
  • Makefile: Undo previous change for Darwin. Not restoring group and owner may be destructive or a security risk.
  • Makefile, common.[ch]: Dos2unix builds on MSYS now.
  • Makefile: For MacOS the option -DNO_CHOWN has been be added to the compile time flags.
  • This is necessary because Darwin will create files with the file-owner-group set to the file-owner-group of the directory - EVEN if the caller is not a member of the group! Chowning *from* the group is ok, chowning *to* the group is not - and this will make unix2dos fail when it tries to restore the permissions.
  • README.txt, man/man1/dos2unix.pod: Freshmeat changed name to Freecode.
  • querycp.c: Fix for MSYS.
  • querycp.c: Support OS/2, and Watcom C for Win32.
  • wccwin32.mak: New makefile for Open Watcom for Win32.
  • Makefile: Added RPM_OPT_FLAGS to LDFLAGS. Required for cross-platform RPM package building.
  • Home page URL: change to http://waterlan.home.xs4all.nl/dos2unix.html

New in Dos2Unix 5.3.1 (Nov 12, 2011)

  • Spanish translation of messages and manual.
  • bugfix: dos2unix changes ownership and permissions on file. When an other user (e.g. root) than the owner has write permission on the input file, dos2unix changes owner, group and umask in old file mode to the other user's owner, group and umask who runs dos2unix. Fixed only for Unix.
  • Keep permissions also on Windows. Use chmod() i.s.o. fchmod().
  • Identical functions from dos2unix.c and unix2dos.c are moved to common.c.
  • Dos2unix and Unix2dos share the same language files.
  • dos2unix.c: Removed redundant ConvertDosToUnixOldFile().
  • unix2dos.c: Removed redundant ConvertUnixToDosOldFile().