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