Tofrodos Changelog

What's new in Tofrodos 1.7.13

Jan 14, 2016
  • [Hurd, NetBSD, FreeBSD kernel] Added support for Hurd, NetBSD and FreeBSD kernel. As a side benefit, Tofrodos is slightly more portable since it no longer depends on certain system-specific macros (namely MAXPATHLEN from sys/param.h).
  • [All systems] Improved error reporting for certain failure conditions.
  • [All systems] The -a option is now documented as "deprecated". This option has never been needed and you should not be using it.
  • [All systems] Minor changes to the documentation to improve clarity.

New in Tofrodos 1.7.12 (Jan 14, 2016)

  • [All systems] Under certain error conditions, Tofrodos may fail to remove the temporary files that it creates. This is now fixed.
  • [All systems] Fixed another bug where an exit code of 0, instead of 1, is returned under certain failure conditions.
  • [MSDOS] Although MSDOS is not a multitasking system, and thus should not need it, the DOS port of Tofrodos now also uses my implementation of mkstemp(). This simplifies maintenance since I'll have fewer code paths to test.
  • [Windows and MSDOS] Support for compiling the source code using DJGPP 2, Borland C/C++, LCC-Win32 and Digital Mars C has been removed. Please use one of the other supported compilers (eg, Open Watcom C, etc). Alternatively, for Windows, just use the precompiled binary included in the package.
  • [All systems] The documentation now has information about the exit codes returned by Tofrodos.

New in Tofrodos 1.7.11 (Jan 14, 2016)

  • [All systems] Tofrodos now consistently returns an exit code of 1 when there's a failure. Previously, under certain error conditions, it could return an exit code of -1 (which is not a valid exit code for some operating systems) instead of 1.
  • [Windows] This version now includes an implementation of mkstemp() for Windows (when compiled with Open Watcom C), bringing the Windows (Open Watcom) port of tofrodos up to par with versions for systems like Linux and Mac OS X which provide mkstemp() in their C libraries. Hopefully, this will help those of you who run multiple instances of tofrodos at the same time in the same directory.
  • [Windows] Fixed a bug introduced in 1.7.9 where the Windows port of tofrodos always creates the temporary file in the current directory instead of the directory where the target file is.
  • [All systems] Improved documentation about the -p and -b options.

New in Tofrodos 1.7.9 (Feb 6, 2012)

  • The behaviour of the -b option (create backup file) has been changed to be more useful on systems with support for long filenames and an arbitrary number of file extensions (ie, all systems except MSDOS). It now backs up "filename.ext" as "filename.ext.bak" instead of "filename.bak". Note that with this version, the DOS version no longer behaves the same way (when the -b option is used) as the Windows, Linux, Mac OS X, BSD and other Unix versions, since DOS systems have filename limitations. At least this way, we're not held back by the least common denominator (DOS), specially since few people use DOS nowadays.
  • The documentation has been updated to explain the behaviour of the -b option in more detail.

New in Tofrodos 1.7.8 (Sep 30, 2009)

  • [Mac OS X] Fixed an error that only shows up when compiling in Mac OS X. The config.h in the distribution package was corrupted in the section enclosed by the APPLE macros. I'm very sorry.