1 2014-04-17 Erwin Waterlander <waterlan@xs4all.nl>
4 2014-04-09 Erwin Waterlander <waterlan@xs4all.nl>
5 * common.c: Fix symbolic_link(), don't print error when file
6 does not exist (problem was introduced on 2014-03-21).
8 2014-04-08 Erwin Waterlander <waterlan@xs4all.nl>
9 * Makefile: Fix for GNU make < 3.82. For rules with multiple
10 patterns, put rule with shortest stem first.
12 2014-04-04 Erwin Waterlander <waterlan@xs4all.nl>
13 * vc.mak, wcc.mif: Only generate English manuals. Target clean
14 does not delete the manuals, new target maintainer-clean does.
16 2014-03-23 Jakub Bogusz <qboosh@pld-linux.org>
17 * man/pl/dos2unix.po: New Polish translation of the manual.
19 2014-03-23 Benno Schulenberg <benno@vertaalt.nl>
20 * man/nl/dos2unix.po: Update Dutch manual.
22 2014-03-22 Balázs Úr <urbalazs@gmail.com>
23 * po/hu.po: New Hungarian translation of UI messages.
25 2014-03-21 Erwin Waterlander <waterlan@xs4all.nl>
26 * common.c: Windows version of function symbolic_link().
27 Now Windows version also skips symbolic links by default.
28 * man/man1/dos2unix.pod: Update wrt Windows symbolic links,
29 and some minor updates.
30 * Makefile: Fix some dependencies for man page creation.
32 2014-03-18 Rafael Ferreira <rafael.f.f1@gmail.com>
33 * man/pt_BR/man1/dos2unix.po: New Brazilian Portuguese
34 translation of the manual.
36 2014-03-18 Frédéric Marchal <fmarchal@perso.be>
37 * man/fr/man1/dos2unix.po: New French translation of the manual.
39 2014-03-16 Yuri Chornoivan <yurchor@ukr.net>
40 * man/uk/man1/dos2unix.po: New Ukrainian translation of the manual.
42 2014-03-16 Erwin Waterlander <waterlan@xs4all.nl>
43 * Makefile: New target 'getpoman' to get .po files for the manuals
44 from the Translation Project.
46 2014-03-15 Mario Blättermann <mario.blaettermann@gmail.com>
47 * man/de/man1/dos2unix.po: New German translation of the
50 2014-03-14 Erwin Waterlander <waterlan@xs4all.nl>
51 * man/man1/Makefile: Generate pod files from gettext
52 po files with po4a, for easier translation. Thanks to
54 See also http://po4a.alioth.debian.org/
55 * man/nl/man1/dos2unix.po, man/es/man/dos2unix.po:
56 New po files, created from original pod.
57 Thanks to Mario Blätterman.
58 * man/nl/man1/dos2unix.pod, man/es/man/dos2unix.pod:
59 Deleted. These are generated now.
60 * Makefile: Update for manual generation from .po files.
61 * Makefile, man/man1/Makefile: All man pages are now in
63 * Makefile: Esperanto x notation no longer supported.
64 Conversion from UTF-8 is troublesome and gettext will
65 automatically translate to caret (^) notation when UTF-8
66 is not supported by the system.
67 * po/eo-x.po: Deleted.
69 2014-03-14 mail6543210 <mail6543210@yahoo.com.tw>
70 * po/zh_TW.po: New Chinese (traditional) translation.
72 2014-03-06 Thomas Pryds <thomas@pryds.eu>
73 * po/da.po: New Danish translation.
75 2014-03-06 Мирослав Николић <miroslavnikolic@rocketmail.com>
76 * po/sr.po: New Serbian translation.
78 2014-02-24 Frédéric Marchal <fmarchal@perso.be>
79 * po/fr.po: New French translation.
81 2014-02-05 Erwin Waterlander <waterlan@xs4all.nl>
82 * README.txt: List all the new translators.
83 * Makefile: New target 'getpo' to get .po file from the
84 Translation Project. New target po/eo-x.po to generate
87 2014-02-05 Enrico Nicoletto <liverig@gmail.com>
88 * po/pt_BR.po: New Brazilian Portuguese translation
90 2014-02-05 Jakub Bogusz <qboosh@pld-linux.org>
91 * po/pl.po: New Polish translation
93 2014-02-05 Yuri Chornoivan <yurchor@ukr.net>
94 * po/uk.po: New Ukrainian translation
96 2014-02-05 Trần Ngọc Quân <vnwildman@gmail.com>
97 * po/vi.po: New Vietnamese translation
99 2014-02-05 Benno Schulenberg <benno@vertaalt.nl>
100 * po/nl.po: Updated Dutch translation
101 * po/eo.po: Updated Esperanto translation
103 2014-02-02 Erwin Waterlander <waterlan@xs4all.nl>
104 * *.c: Print help and version info to stdout iso stderr.
105 Thanks to Benno Schulenberg.
107 2014-01-31 Erwin Waterlander <waterlan@xs4all.nl>
108 * *.c,po/*.po: cleanup messages. Thanks to Benno Schulenberg.
110 2014-01-29 Erwin Waterlander <waterlan@xs4all.nl>
111 * common.c, po/*.po: Split large help text in smaller pieces.
112 This is easier for the translators. Thanks to Benno Schulenberg.
114 2014-01-18 Erwin Waterlander <waterlan@xs4all.nl>
115 * Makefile, *.mak: Removed MAN_NONLATIN variable.
116 * INSTALL.txt: Update section INTERNATIONAL MAN PAGES.
118 2014-01-10 Erwin Waterlander <waterlan@xs4all.nl>
119 * mingw32.mak, mingw64.mak: Update for easier use in MSYS2. Added
120 extra include path to find libintl.h.
122 2014-01-04 Erwin Waterlander <waterlan@xs4all.nl>
123 * Makefile: Also include English manuals in source the package.
124 Adding man files to the source package, which have been generated with
125 a high version of perl/pod2man, is a favour to users, because newer
126 perl/pod2man versions produce better output (also for old systems).
127 Tip from pod2man maintainer Russ Allbery.
128 When you want to generate man pages yourself just run first 'make
131 2014-01-03 Erwin Waterlander <waterlan@xs4all.nl>
132 * man/nl/man1/dos2unix.pod, man/es/man1/dos2unix.pod: Add =encoding
133 latin1 command. Perl 5.18 requires =encoding for all non-ASCII pod
135 See also https://rt.cpan.org/Public/Bug/Display.html?id=91805
136 Minimal perl version is now 5.10.1.
137 * Makefile: Target clean keeps generated non-English manual files to
138 avoid problems with old perl version. Target maintainer-clean will
139 erase the generated non-English manual files.
140 * INSTALL.txt: Update for new required perl version.
142 2013-12-30 Erwin Waterlander <waterlan@xs4all.nl>
144 * man/nonlatin/man1/ru/dos2unix.pod: Removed. Russian
145 translation of manual moved to later release.
147 2013-11-26 Erwin Waterlander <waterlan@xs4all.nl>
148 * Makefile, common.c: When MinGW-w64 is used for 32 bit, option
149 -V prints (MinGW-w64) for used compiler name.
151 2013-11-24 Erwin Waterlander <waterlan@xs4all.nl>
152 * mingw32.mak: New makefile for MinGW-w64 targeting win32.
153 MinGW-w64 supports Large File Support (LFS) with
154 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 while mingw.org
155 doesn't. Dos2unix failed when concurrent dos2unix processes
156 processed huge files on Windows network share drives.
157 Using MinGW-w64 with LFS support fixed the problem.
158 Thanks to report by F.J. Brandelik.
161 2013-10-07 Erwin Waterlander <waterlan@xs4all.nl>
162 * Makefile: Set MAN_NONLATIN back to 1. Include non-Latin
163 manuals in source package to prevent compilation troubles.
164 Target 'clean' keeps non-Latin manuals. Use 'maintainer-clean'
167 2013-10-05 Erwin Waterlander <waterlan@xs4all.nl>
168 * Makefile: By default don't build non-Latin1 manuals. There are
169 still too many old perl/pod2man versions around (perl < 5.10.1).
170 Add MAN_NONLATIN=1 to enable non-Latin1 manuals.
172 2013-10-01 Erwin Waterlander <waterlan@xs4all.nl>
173 * man/man1/Makefile: Support non-Latin1 man pages.
174 * Makefile: Support non-Latin1 man pages.
175 * man/nonlatin/man1/ru/dos2unix.pod: Placeholder for Russian manual.
177 2013-09-13 Андрей Углик (Andrei Uhlik) <uglika@gmail.com>
178 * po/ru.po: New Russian translation of the messages.
180 2013-08-05 Erwin Waterlander <waterlan@xs4all.nl>
181 * po/de.po: Update German translations. Thanks to Lars Wendler.
183 2013-06-14 Erwin Waterlander <waterlan@xs4all.nl>
184 * dos2unix.c/unix2dos.c: New options -ul and -ub to convert
185 UTF-16 files without BOM.
187 2013-06-11 Erwin Waterlander <waterlan@xs4all.nl>
188 * dos2unix.c/unix2dos.c: Print value of binary symbol
191 2013-03-12 Erwin Waterlander <waterlan@xs4all.nl>
192 * Makefile: Set CC to gcc for MSYS target. Otherwise
193 /mingw/bin/cc is used.
195 2013-01-27 Erwin Waterlander <waterlan@xs4all.nl>
197 - CC and CPP can be overridden by environment.
198 - CFLAGS optimization flags can be overridden by environment.
199 - Separate LIBS from LDFLAGS.
200 Thanks to Justin Lecher <jlec@gentoo.org>
202 2013-01-25 Erwin Waterlander <waterlan@xs4all.nl>
205 2013-01-18 Erwin Waterlander <waterlan@xs4all.nl>
206 * dos2unix.c/unix2dos.c: Print system error when writing to
207 temporary output file fails.
209 2013-01-16 Erwin Waterlander <waterlan@xs4all.nl>
210 * dos2unix.c/unix2dos.c: Print system error when closing of
211 temporary output file fails. E.g. "No space left on device".
213 2012-12-25 Erwin Waterlander <waterlan@xs4all.nl>
214 * querycp.c/h: Added public domain phrase for Debian
217 2012-12-12 Erwin Waterlander <waterlan@xs4all.nl>
218 * test: New directory with some test files.
220 2012-09-20 Erwin Waterlander <waterlan@xs4all.nl>
221 * man/man1/Makefile: Removed dependency on 'sed' program.
223 2012-09-19 Erwin Waterlander <waterlan@xs4all.nl>
224 * vc.mak: Visual C++ version supports wildcard expansion.
225 Added targets 'install', 'uninstall', 'doc', 'dist',
226 'txt', 'html', and 'mostlyclean'.
227 * INSTALL.txt: Update for Visual C++.
229 2012-09-16 Erwin Waterlander <waterlan@xs4all.nl>
230 * *.c/*.h: Dos2unix compiles with Microsoft Visual C++.
231 * vc.mak: New makefile for Microsoft Visual C++.
232 * INSTALL.txt: Update for Visual C++.
234 2012-09-15 Erwin Waterlander <waterlan@xs4all.nl>
235 * Makefile: Better check for DJGPP. DJGPP 2.04 uname returns "FreeDOS"
236 on Freedos, 2.03 uname returns always "MS-DOS". Thanks to Rugxulo.
237 * man/man1/dos2unix.pod: Fixed a typo. Thanks to Jari Aalto.
239 2012-09-06 Erwin Waterlander <waterlan@xs4all.nl>
242 2012-08-29 Erwin Waterlander <waterlan@xs4all.nl>
243 * wcc*: Fix target 'dist' in Watcom makefiles.
244 * djgpp.mak: Use 8.3 filename for dos32 binary package.
246 2012-08-26 Erwin Waterlander <waterlan@xs4all.nl>
247 * os2.mak: Renamed to emx.mak.
248 * wccos2.mak: New Watcom C makefile for OS/2 target.
249 * wcc.mif: Watcom C makefile with generic parts. This new
250 makefile containts new targets 'install', 'uninstall',
251 'doc', 'dist', and 'mostlyclean'.
252 * djgpp.mak: Default prefix is now c:\dos32
253 * dos16_gnu.mak: Removed. Installation of dos16 version is
254 now done with Watcom makefiles.
256 2012-08-13 Erwin Waterlander <waterlan@xs4all.nl>
257 * po/de.po: Update German translations. Thanks to Philipp.
258 * po/es.po: Update Spanish translations. Thanks to Julio.
260 2012-08-12 Erwin Waterlander <waterlan@xs4all.nl>
261 * Makefile: Don't use pod2text option --utf8. There are too many
262 old pod2text versions around that don't support this option.
263 * Makefile: Install PDF and PostScript files of all languages when
264 they have been created.
265 * po/eo*.po: Update Esperanto translations. Thanks to Rugxulo.
266 * dos2unix/unix2dos: Don't use __MSDOS__ macro for Windows.
268 2012-08-10 Erwin Waterlander <waterlan@xs4all.nl>
269 * Makefile: Change variable OS to D2U_OS. OS is used by Windows.
270 * Makefile: By default install only English text and html manuals.
271 This saves a dependency on iconv. Non-English text and html manuals
272 will be installed when they have been explicitly generated with
273 targets 'txt' and 'html'.
275 2012-08-09 Erwin Waterlander <waterlan@xs4all.nl>
276 * dos2unix/unix2dos: Use only C99 compliant predefined macros.
278 2012-08-07 Erwin Waterlander <waterlan@xs4all.nl>
279 * dos2unix/unix2dos: Print line number when a binary symbol is found.
280 Thanks to Somsak Pattanaprateep.
281 * Makefile: By default install text and html manuals of all languages.
283 2012-08-06 Erwin Waterlander <waterlan@xs4all.nl>
284 * dos2unix/unix2dos: Fix. Locale encoding was not detected when NLS
286 * common.c: Update comments. Surrogate halves in UTF-8 are invalid.
288 2012-07-25 Erwin Waterlander <waterlan@xs4all.nl>
291 2012-07-20 Erwin Waterlander <waterlan@xs4all.nl>
292 * Makefile: Target 'html' makes also Dutch and Spanish HTML manuals.
294 2012-07-18 Erwin Waterlander <waterlan@xs4all.nl>
295 * manual: Update for options -n and -o. Describe the new permissions of
296 the output file in new-file and old-file mode.
297 * README.txt: Added references for the findutils package for Windows
298 and DOS to enable recursive conversions on those platforms.
300 2012-05-20 Erwin Waterlander <waterlan@xs4all.nl>
301 * common.h: Fix compiler warnings "implicit declaration of function
302 'strcasecmp'". Thanks to Michael Schindler
303 <k-m_schindler@sourceforge.net>.
305 2012-05-11 Julio A. Freyre-Gonzalez <jfreyreg@gmail.com>
306 * Update Spanish messages and manual.
308 2012-05-06 Erwin Waterlander <waterlan@xs4all.nl>
310 * man/*/man1/*.pod: Removed =encoding. It is not supported
311 by perl 5.8.8, which is shipped with MinGW and DJGPP.
313 2012-04-20 Erwin Waterlander <waterlan@xs4all.nl>
314 * man/*/man1/*.pod: Set encoding explicitly to Latin-1.
315 * Makefile: Target 'doc' makes all man pages.
317 2012-04-12 Erwin Waterlander <waterlan@xs4all.nl>
318 * po/de.po: Update German translations. Thanks to Philipp Thomas.
320 2012-04-09 Erwin Waterlander <waterlan@xs4all.nl>
321 * INSTALL.txt: List the prerequisites.
322 * Makefile: Friendlier for DJGPP/MinGW/MSYS.
324 2012-04-04 Erwin Waterlander <waterlan@xs4all.nl>
325 * po/eo.po: Update Esperanto translations. Thanks to Rugxulo.
327 2012-03-30 Erwin Waterlander <waterlan@xs4all.nl>
328 * Skip UTF-16 file when conversion to UTF-8 goes wrong.
329 * Update English and Dutch manual.
331 2012-03-28 Erwin Waterlander <waterlan@xs4all.nl>
332 * common.c: Support UTF-16 surrogate pairs.
333 * dos2unix.c, unix2dos.c: Check wchar_t size.
335 2012-03-26 Erwin Waterlander <waterlan@xs4all.nl>
336 * *.c: Use fgetc/fputc instead of getc/putc.
338 2012-03-25 Erwin Waterlander <waterlan@xs4all.nl>
339 * po, man: Update Dutch translations.
341 2012-03-24 Erwin Waterlander <waterlan@xs4all.nl>
342 * On Unix, convert UTF-16 files only when the locale encoding
343 is UTF-8 to prevent accidental loss of text.
345 2012-03-23 Erwin Waterlander <waterlan@xs4all.nl>
346 * Turn off ISO and 7-bit mode if an Unicode text file is detected,
347 to prevent corruption of UTF-8 files.
348 * Update English manual.
349 * Fix compilation for WatcomC, DJGPP, MSYS, OS/2.
350 * Makefile: Support CFLAGS_USER, LDFLAGS_USER, and DEFS_USER for
351 Debian Linux. Thanks to Jari Aalto.
353 2012-03-21 Erwin Waterlander <waterlan@xs4all.nl>
354 * Support conversion of Unicode UTF-16 from stdin.
355 * Update English manual.
357 2012-03-20 Erwin Waterlander <waterlan@xs4all.nl>
358 * Support conversion of Unicode UTF-16 encoded files.
360 2012-03-16 Erwin Waterlander <waterlan@xs4all.nl>
361 * common.c: Make it compile on Cygwin 1.5.
363 2012-03-10 Erwin Waterlander <waterlan@xs4all.nl>
365 * Makefile: Binary packages with native language support
368 2012-03-08 Erwin Waterlander <waterlan@xs4all.nl>
369 * common.c: Option -V prints target OS on DOS/Windows/OS2.
371 2012-03-07 Erwin Waterlander <waterlan@xs4all.nl>
372 * dos2unix.c, unix2dos.c, mingw64.mak: Enabled wildcard
373 expansion for Win64 (MinGW-w64). Thanks to Steve Hay.
374 * wccdos16.mak: Enabled wildcard expansion.
375 * wccdos32.mak: Enabled wildcard expansion.
376 * wccwin32.mak: Enabled wildcard expansion.
377 * bcc.mak: Enabled wildcard expansion.
379 2012-03-02 Erwin Waterlander <waterlan@xs4all.nl>
380 * Makefile: New target 'mostlyclean' that preserves the manual
381 files. Target 'clean' removes all built files, it restores the
382 Unix source package to its original state.
383 * Makefile: New variable HTMLEXT to override the default 'htm'
384 extension for the manual in HTML format.
386 2012-02-01 Erwin Waterlander <waterlan@xs4all.nl>
387 * Makefile, version.mk: Fix a compile error when debug
388 is enabled. Thanks to Maurizio Camisaschi and Lars Wendler.
389 See https://bugs.gentoo.org/400769
390 * Makefile: Enable debugging info for gdb when DEBUG=1
391 * man page: Small update in section RETURN VALUE.
393 2012-01-27 Erwin Waterlander <waterlan@xs4all.nl>
396 2012-01-02 Erwin Waterlander <waterlan@xs4all.nl>
397 * os2.mak: Enable support for wild cards (-Zargs-wild).
398 Thanks to Steven H. Levine and Elbert Pol.
400 2011-12-20 Erwin Waterlander <waterlan@xs4all.nl>
401 * querycp.c: Extra comment from Rugxulo.
402 * querycp.c: Undid change of 2011-11-12. MSYS version
403 behaves as Cygwin version.
405 2011-12-15 Erwin Waterlander <waterlan@xs4all.nl>
406 * wccdos32.mak: New makefile for Open Watcom for DOS32.
408 2011-12-06 Erwin Waterlander <waterlan@xs4all.nl>
409 * Makefile: Undo previous change for Darwin. Not restoring group and
410 owner may be destructive or a security risk.
411 * Makefile, common.[ch]: Dos2unix builds on MSYS now.
413 2011-12-02 Erwin Waterlander <waterlan@xs4all.nl>
414 * Makefile: For MacOS the option -DNO_CHOWN has been be added to the compile time flags.
415 This is necessary because Darwin will create files with the
416 file-owner-group set to the file-owner-group of the directory - EVEN if
417 the caller is not a member of the group! Chowning *from* the group is ok,
418 chowning *to* the group is not - and this will make unix2dos fail when it
419 tries to restore the permissions.
420 Thanks to Wolf Geldmacher.
421 See bug report 3444337, https://sourceforge.net/tracker/?func=detail&atid=1234808&aid=3444337&group_id=292083
423 2011-11-16 Erwin Waterlander <waterlan@xs4all.nl>
424 * README.txt, man/man1/dos2unix.pod: Freshmeat changed name to Freecode.
426 2011-11-12 Erwin Waterlander <waterlan@xs4all.nl>
427 * querycp.c: Fix for MSYS.
429 2011-10-20 Erwin Waterlander <waterlan@xs4all.nl>
430 * querycp.c: Support OS/2, and Watcom C for Win32.
431 * wccwin32.mak: New makefile for Open Watcom for Win32.
433 2011-08-22 Erwin Waterlander <waterlan@xs4all.nl>
434 * Makefile: Added RPM_OPT_FLAGS to LDFLAGS. Required for
435 cross-platform RPM package building.
437 2011-08-20 Erwin Waterlander <waterlan@xs4all.nl>
438 * Home page URL: change to http://waterlan.home.xs4all.nl/dos2unix.html
440 2011-08-09 Erwin Waterlander <waterlan@xs4all.nl>
443 2011-08-08 Julio A. Freyre-Gonzalez <jfreyreg@gmail.com>
444 * Spanish translation of messages and manual.
446 2011-06-26 Erwin Waterlander <waterlan@xs4all.nl>
447 * bugfix: dos2unix changes ownership and permissions on file.
448 When an other user (e.g. root) than the owner has write permission
449 on the input file, dos2unix changes owner, group and umask in old
450 file mode to the other user's owner, group and umask who runs
451 dos2unix. Fixed only for Unix. Thanks to Christopher Williams.
452 See http://sourceforge.net/tracker/?func=detail&aid=3327171&group_id=292083&atid=1234808
453 * Keep permissions also on Windows. Use chmod() i.s.o. fchmod().
455 2011-06-16 Erwin Waterlander <waterlan@xs4all.nl>
456 * Identical functions from dos2unix.c and unix2dos.c
457 are moved to common.c.
459 2011-06-15 Erwin Waterlander <waterlan@xs4all.nl>
460 * Dos2unix and Unix2dos share the same language files.
462 2011-05-04 Erwin Waterlander <waterlan@xs4all.nl>
463 * dos2unix.c: Removed redundant ConvertDosToUnixOldFile().
464 * unix2dos.c: Removed redundant ConvertUnixToDosOldFile().
466 2011-04-26 Erwin Waterlander <waterlan@xs4all.nl>
469 2011-04-23 Erwin Waterlander <waterlan@xs4all.nl>
470 * Don't report an error when unlink() fails because a file
473 2011-04-13 Erwin Waterlander <waterlan@xs4all.nl>
474 * Print system error when input file can't be openened.
475 For instance "Permission denied"
477 * Update translations.
479 2011-04-04 Erwin Waterlander <waterlan@xs4all.nl>
480 * Always print and return an error when wrong command-line
481 options are used. Also in quiet mode.
482 * New option '--': Treat all following options as file names.
484 2011-04-03 Erwin Waterlander <waterlan@xs4all.nl>
485 * Improved error reporting. Return system error when an error occurs.
486 * Don't quit after first error (like rm, ls, grep, tar).
487 * In quiet mode the return value is always zero.
489 2011-03-27 Erwin Waterlander <waterlan@xs4all.nl>
490 * dos2unix.c/unix2dos.c: Check if symbolic links point to
492 * dos2unix.c/unix2dos.c: Added short options -F, -R, -S.
493 * po: update translations.
495 2011-03-24 Erwin Waterlander <waterlan@xs4all.nl>
496 * dos2unix.c/unix2dos.c: Changed options --follow, --no-follow,
497 to --follow-symlink, --replace-symlink, --skip-symlink.
498 * dos2unix.c/unix2dos.c: Options --force and --safe are only to
499 covert binary files or skip them.
500 * dos2unix.c/unix2dos.c: Non-regular files that are not symbolic
501 links are never converted.
503 2011-03-23 Charles Wilson <cygwin@cwilson.fastmail.fm>
504 * dos2unix.c/unix2dos.c: New options --follow and --no-follow.
505 In follow mode dos2unix writes to the symlink target, instead
506 of replacing the symbolic link with an output file.
508 2011-03-22 Charles Wilson <cygwin@cwilson.fastmail.fm>
509 * querycp.c: Behave on Cygwin same as on Linux. Default
510 code page in ISO mode is CP437.
512 2011-03-21 Charles Wilson <cygwin@cwilson.fastmail.fm>
513 * dos2unix.c/unix2dos.c:
514 - Cygwin may define WIN32 (via include files).
515 - bugfix: Cygwin: set mode to binary in stdio mode conversion.
516 Needed in case non-Cygwin program launches dos2unix.
517 - bugfix: set failure mode if rename fails in quiet mode.
518 - New option: -s, --safe. Opposite of -f, --force.
519 * Makefile: Cleanup for Cygwin.
521 2011-03-19 Erwin Waterlander <waterlan@xs4all.nl>
522 * Makefile: Install links instead of binary/manpage copies on Cygwin.
524 2011-03-05 Erwin Waterlander <waterlan@xs4all.nl>
525 * man/man1/dos2unix.pod: Replace GPL with FreeBSD license.
526 * man/nl/man1/dos2unix.pod: Replace GPL with FreeBSD license.
528 2011-03-04 Erwin Waterlander <waterlan@xs4all.nl>
531 2011-03-03 Erwin Waterlander <waterlan@xs4all.nl>
532 * Don't print used code page in quiet mode.
534 2011-03-02 Erwin Waterlander <waterlan@xs4all.nl>
535 * Esperanto x-notation format is optional. Default is Unicode.
536 There is no installation of an 'eo-x' locale any more.
537 Add EO_XNOTATION=1 to make command-line to select x-notation.
538 It will change the format of the normal 'eo' locale from Unicode
541 2011-02-28 Erwin Waterlander <waterlan@xs4all.nl>
542 * Makefile: Make LFS optional with variable LFS (default on).
543 * dos2unix.c/unix2dos.c: Print file name with stat() system error.
545 2011-02-26 Erwin Waterlander <waterlan@xs4all.nl>
546 * dos2unix.c/unix2dos.c: Report system error when stat() fails.
547 * Makefile: Enable 64 bit file system interface (_FILE_OFFSET_BITS=64).
548 This enables opening files larger than 2GB on 32 bit systems, provided
549 the system has Large File Support (LFS). See also section 1.3.4
550 "Feature Test Macros" of The GNU C Library manual.
551 http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html
553 2011-02-22 Erwin Waterlander <waterlan@xs4all.nl>
554 * In debug mode file mode is printed (compile with DEBUG=1).
556 2011-02-19 Erwin Waterlander <waterlan@xs4all.nl>
557 * Makefile: Generation of PostScript and PDF is optional.
558 This removes dependency on Groff and GhostScript (thanks to Philipp Thomas).
560 2011-02-04 Erwin Waterlander <waterlan@xs4all.nl>
561 * Makefile: Replace GPL (accidently patched in) with FreeBSD license.
562 * man/man1/Makefile: Fix perl command for for DOS alike file systems
563 (Can't do inplace edit without backup.). (thanks to Elbert Pol)
565 2011-01-31 Erwin Waterlander <waterlan@xs4all.nl>
568 2011-01-19 Erwin Waterlander <waterlan@xs4all.nl>
571 2011-01-13 Rugxulo <rugxulo@gmail.com>
572 * querycp.c: Active code page detection. DOS 16 bit, OpenWatcom.
574 2011-01-12 Erwin Waterlander <waterlan@xs4all.nl>
575 * querycp.c: Detect active code page for ISO mode on Windows.
577 2011-01-12 Rugxulo <rugxulo@gmail.com>
578 * querycp.c: Detect active code page for ISO mode. DOS 32 bit, DJGPP.
580 2011-01-11 Erwin Waterlander <waterlan@xs4all.nl>
581 * New ISO conversion modes DOS CP860 (Portuguese)
582 and CP863 (French Canadian).
584 2011-01-10 Erwin Waterlander <waterlan@xs4all.nl>
585 * New ISO conversion mode DOS CP865 (Nordic).
587 2011-01-07 Erwin Waterlander <waterlan@xs4all.nl>
588 * ISO mode CP437: fix conversion of non-breaking space (NBSP)
589 * New ISO conversion modes: DOS CP850 (Western European) and Windows
590 CP1252 (Western European).
591 * SunOS compatible command-line options -ascii, -iso, -7, -437, -850.
593 2011-01-04 Erwin Waterlander <waterlan@xs4all.nl>
594 * 7bit and iso mode can be used in Mac mode.
596 2010-11-22 Jari Aalto <jari.aalto@cante.net>
597 * Small updates man page and Makefile.
599 2010-11-21 Ben Pfaff <blp@cs.stanford.edu>
600 * Don't indicate text files with ASCII Form Feed control
601 characters (^L) as binary.
602 Form feed characters are fairly common in GNU software text files,
603 because the GNU coding standards advice to use form feeds to
604 divide text into pages.
606 2010-11-15 Erwin Waterlander <waterlan@xs4all.nl>
607 * Put full copyright text in *.h source files (FSF's recommendation).
608 Thanks to Jari Aalto <jari.aalto@cante.net>.
609 * Don't include generated documentation files in Unix source package.
610 * Create a source package in DOS text format.
612 2010-08-18 Erwin Waterlander <waterlan@xs4all.nl>
615 2010-07-23 Erwin Waterlander <waterlan@xs4all.nl>
616 * Added Dutch translation of the manual.
618 2010-07-19 Erwin Waterlander <waterlan@xs4all.nl>
619 * MinGW-w64 Makefile added for Windows 64 bit port.
621 2010-06-20 Erwin Waterlander <waterlan@xs4all.nl>
622 * Don't ship po/*.mo files in source package.
623 * Win32 binary package uses patched MinGW's libintl, with builtin
624 relocation support. See http://www.xs4all.nl/~waterlan/libintl.html
626 2010-04-22 Erwin Waterlander <waterlan@xs4all.nl>
627 * Support compilation in DOSBox (8.3 file names where needed).
629 2010-04-14 Erwin Waterlander <waterlan@xs4all.nl>
630 * Fixed compilation on Darwin OS. Thanks to Marc Gianzero.
632 2010-04-03 Erwin Waterlander <waterlan@xs4all.nl>
635 2010-03-22 Erwin Waterlander <waterlan@xs4all.nl>
636 * Man page generation from Perl POD file.
637 Thanks to Jari Aalto <jari.aalto@cante.net>
638 * Merge dos2unix and unix2dos man pages.
640 2010-03-17 Erwin Waterlander <waterlan@xs4all.nl>
641 * Add localization information to manual.
643 2010-03-16 Rugxulo <rugxulo@gmail.com>
644 * Added Esperanto translation.
646 2010-03-13 Erwin Waterlander <waterlan@xs4all.nl>
647 * DJGPP, dos32bit: Create 'stubs' for mac2unix and unix2mac.
648 See also http://www.delorie.com/djgpp/v2faq/faq22_5.html
649 Thanks to Rugxulo <rugxulo@gmail.com>
651 2010-03-11 Erwin Waterlander <waterlan@xs4all.nl>
652 * Allow to set options in stdio mode.
653 * dos2unix: bugfix MAC mode: Don't change DOS line endings.
654 * Display help if a wrong option was used.
656 2010-03-04 Erwin Waterlander <waterlan@xs4all.nl>
657 * Port to 16 bit DOS, using OpenWatcom.
659 2010-03-03 Erwin Waterlander <waterlan@xs4all.nl>
660 * Port to 16 bit DOS, using Borland C.
662 2010-02-16 Erwin Waterlander <waterlan@xs4all.nl>
665 2010-02-15 Erwin Waterlander <waterlan@xs4all.nl>
666 * unix2dos: Fix problem of reading Mac files.
667 * unix2dos: Added command 'unix2mac'.
668 * unix2dos: Can use DOS2UNIX_LOCALEDIR i.s.o. UNIX2DOS_LOCALEDIR.
669 * dos2unix: 'mac2unix' command can have a prefix.
670 * Makefile: mac2unix and unix2mac are installed as soft links.
672 2010-02-13 Erwin Waterlander <waterlan@xs4all.nl>
673 * Bundled dos2unix and unix2dos in one package.
674 * dos2unix/unix2dos : Cleanup messages and manual.
675 * dos2unix: Option -l --newline also works in MAC mode.
676 * unix2dos: Added option -l, --newline.
677 * unix2dos: Added MAC mode. Convert Unix line endings
680 2010-02-10 Erwin Waterlander <waterlan@xs4all.nl>
681 * unix2dos: Makefile :
682 - Use GNU standard directory variables everywhere.
683 - New target 'dist-tbz' creates bzip2 compressed archive.
685 2010-02-10 Philipp Thomas <psmt@opensuse.org>
686 * unix2dos: po/de.po : Added German translation.
687 * unix2dos: Makefile :
688 - Added $(RPM_OPT_FLAGS) to CFLAGS.
689 - Use DESTDIR only in install and uninstall targets (not in variables,
690 this is more common practice).
692 2010-02-03 Erwin Waterlander <waterlan@xs4all.nl>
693 * dos2unix: Makefile :
694 - Use GNU standard directory variables everywhere.
696 2010-02-03 Philipp Thomas <psmt@opensuse.org>
697 * dos2unix: po/de.po : Added German translation.
698 * dos2unix: Makefile :
699 - Use GNU standard directory variable 'datadir' i.s.o. 'sharedir'.
700 - Added $(RPM_OPT_FLAGS) to CFLAGS.
701 - New target 'dist-tbz' creates bzip2 compressed archive.
702 - Use DESTDIR only in install and uninstall targets (not in variables,
703 this is more common practice).
705 2010-02-02 Erwin Waterlander <waterlan@xs4all.nl>
706 * dos2unix/unix2dos: Update Dutch translation.
708 2010-01-24 Erwin Waterlander <waterlan@xs4all.nl>
709 * dos2unix/unix2dos: version 4.1.2
711 2010-01-22 Tim Waugh <twaugh@redhat.com>
712 * dos2unix/unix2dos: Preserve file mode in 'new file mode'.
713 * dos2unix/unix2dos: Makefile: Allow CFLAGS to be set externally.
715 2010-01-21 Erwin Waterlander <waterlan@xs4all.nl>
716 * dos2unix/unix2dos: version 4.1.1
717 * dos2unix/unix2dos: Fix compilation on FreeBSD.
718 * dos2unix/unix2dos: Changed home page URL to http://www.xs4all.nl/~waterlan/dos2unix.html
720 2009-12-28 Erwin Waterlander <waterlan@xs4all.nl>
721 * dos2unix/unix2dos: version 4.1
722 * dos2unix/unix2dos: Automatically skip binary files.
723 * dos2unix/unix2dos: Automatically skip non-regular files.
724 * dos2unix/unix2dos: New option: -f --force: Force conversion of all files.
725 * dos2unix/unix2dos: Option -h: Print options in alphabetical order.
726 * dos2unix/unix2dos: Update manual.
727 * dos2unix/unix2dos: ISO mode:
728 - Non-convertable characters are converted to a dot.
729 Old conversion risked conversion to unwanted ISO C1
730 control characters from ISO 6429.
731 - Fixed wrong conversion of Interpunct.
732 - Don't convert ASCII control characters
733 DC4 (Pilcrow, 0x14) and NAK (Section-sign, 0x15).
735 2009-12-21 Erwin Waterlander <waterlan@xs4all.nl>
736 * dos2unix/unix2dos: version 4.0.1
737 * dos2unix/unix2dos: man page improvements: Thanks to Jari Aalto <jari.aalto@cante.net>.
738 - Replace hyphens with minus signs (look like dashes) where needed.
739 - Options in alphabetical order.
740 * dos2unix/unix2dos: man page: Update ISO mode information.
741 * dos2unix/unix2dos: Option -V prints localedir used.
742 * dos2unix: Localedir can be overruled with environment variable
744 * unix2dos: Localedir can be overruled with environment variable
746 * dos2unix/unix2dos: Fixed two wrong conversions in ISO mode:
748 - Closing guillemet (angle quotation mark, >>).
749 * dos2unix/unix2dos: Port to OS/2 Warp: Thanks to Elbert Pol <elbertdotpol@gmail.com>.
750 * dos2unix/unix2dos: Makefiles: Added target 'strip'.
752 2009-12-15 Erwin Waterlander <waterlan@xs4all.nl>
753 * dos2unix/unix2dos: version 4.0
754 * dos2unix/unix2dos: Added internationalisation using gettext.
755 * dos2unix/unix2dos: Added Dutch translation.
756 * dos2unix/unix2dos: Ported to Win32 using Mingw32 <http://www.mingw.org/>
757 * dos2unix/unix2dos: Ported to DOS using DJGPP <http://www.delorie.com/djgpp/>
758 * dos2unix/unix2dos: Fixed problem in DOS/Windows stdio mode.
759 * dos2unix/unix2dos: New option -L/--license that prints software license.
760 * dos2unix/unix2dos: Code cleanup
761 * dos2unix/unix2dos: Update manual
763 2009-12-04 Erwin Waterlander <waterlan@xs4all.nl>
764 * dos2unix: version 3.2
765 * unix2dos: version 2.3
766 * dos2unix/unix2dos: version.mk: New file.
767 * dos2unix/unix2dos: README: New file.
768 * dos2unix/unix2dos: ChangeLog : New file.
769 * dos2unix: INSTALL: Updated.
770 * dos2unix/unix2dos: Makefile: Makefile according GNU standards.
771 * unix2dos: INSTALL: New file.
772 * dos2unix: Applied all patches from RedHat:
773 - use mkstemp i.s.o. mktemp: Nov 17 2000 Tim Powers <timp@redhat.com>
774 - segfault: Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
775 - safeconv: Oct 20 2004 Miloslav Trmac <mitr@redhat.com>
776 - manpage-update: Oct 6 2004 Mike A. Harris <mharris@redhat.com>
777 - preserve-file-modes: Feb 6 2007 Tim Waugh <twaugh@redhat.com>
778 - tmppath: Apr 13 2005 Tim Waugh <twaugh@redhat.com>
779 - c-missing-arg: Jan 18 2008 Tim Waugh <twaugh@redhat.com>
780 - Remove trailing white space.
781 * unix2dos: Applied all patches from RedHat:
782 - use mkstemp i.s.o. mktemp: Nov 17 2000 Tim Powers <timp@redhat.com>
783 - segfault: Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
784 - manpage-update: Oct 6 2004 Mike A. Harris <mharris@redhat.com>
785 - preserve-file-modes: Oct 11 2004 Tim Waugh <twaugh@redhat.com>
786 - tmppath: Apr 13 2005 Tim Waugh <twaugh@redhat.com>
787 - Remove trailing white space.
789 1998-11-19 Christian Wurll <wurll@ira.uka.de>
790 * dos2unix: version 3.1
791 * dos2unix: Added extra newline if ^M occurs
793 1998-02-04 Bernd Johannes Wuebben <wuebben@kde.org>
794 * dos2unix: version 3.0
795 * dos2unix: Added Mac text file translation, i.e. \r to \n conversion
797 1995-03-30 Benjamin Lin <blin@socs.uts.edu.au>
798 * dos2unix/unix2dos: version 2.2
799 * dos2unix: Fixed a bug in 2.1 where in new file mode, if outfile already exists
800 * dos2unix: conversion can not be completed properly.
801 * unix2dos: Conversion from SunOS charset implemented.
803 1995-03-29 Benjamin Lin <blin@socs.uts.edu.au>
804 * dos2unix: version 2.1
805 * dos2unix: Conversion to SunOS charset implemented.
807 1995-03-19 Benjamin Lin <blin@socs.uts.edu.au>
808 * dos2unix/unix2dos: version 2.0
809 * dos2unix/unix2dos: Rewritten from scratch.
811 1995-03-16 Benjamin Lin <blin@socs.uts.edu.au>
812 * dos2unix: version 1.2
813 * unix2dos: version 1.3
814 * dos2unix/unix2dos: Modified to more conform to UNIX style.
816 1995-03-09 Benjamin Lin <blin@socs.uts.edu.au>
817 * unix2dos: version 1.2
818 * unix2dos: Fixed minor typo error
820 1994-12-20 Benjamin Lin <blin@socs.uts.edu.au>
821 * dos2unix/unix2dos: version 1.1
822 * dos2unix/unix2dos: Cleaned up for Borland C/C++ 4.02
824 1989-10-04 John Birchfield <jb@koko.csustan.edu>
825 * dos2unix/unix2dos: version 1.0