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
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
|
2005-03-14 Bruno Haible <bruno@clisp.org>
* gettext-0.14.3 released.
2004-09-12 Bruno Haible <bruno@clisp.org>
* hash.c: Include <limits.h> instead of <values.h>.
Assume an ANSI C implementation with stdlib.h, string.h.
(BITSPERBYTE, LONGBITS, bcopy): Remove macros.
2005-02-24 Bruno Haible <bruno@clisp.org>
* gettext-0.14.2 released.
2005-02-12 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (OBJECTS): Remove strtoul.obj.
(strtoul.obj): Remove target.
* Makefile.vms (OBJECTS): Remove strtoul.obj.
(strtoul.obj): Remove target.
2005-02-12 Bruno Haible <bruno@clisp.org>
* allocsa.h: Add extern "C" for C++.
* xallocsa.h: Likewise.
2005-02-12 Bruno Haible <bruno@clisp.org>
* exitfail.h (exit_failure): Add DLL_VARIABLE attribute.
2005-02-12 Bruno Haible <bruno@clisp.org>
* obstack.c: Update from current gnulib version.
2005-02-10 Bruno Haible <bruno@clisp.org>
* allocsa.h (sa_alignof): Define differently with AIX xlc, to avoid
a bug of this compiler on AIX 3.2.5 dealing with enums.
2005-02-07 Bruno Haible <bruno@clisp.org>
* c-strcase.h: New file, based on strcase.h.
* c-strcasecmp.c: New file, based on strcasecmp.c.
* c-strncasecmp.c: New file, based on strcasecmp.c.
* Makefile.am (libgettextlib_la_SOURCES): Add c-strcase.h,
c-strcasecmp.c, c-strncasecmp.c.
* Makefile.msvc (OBJECTS): Add c-strcasecmp.obj, c-strncasecmp.obj.
(c-strcasecmp.obj, c-strncasecmp.obj): New rules.
* Makefile.vms (OBJECTS): Add c-strcasecmp.obj, c-strncasecmp.obj.
(c-strcasecmp.obj, c-strncasecmp.obj): New rules.
2005-01-29 Bruno Haible <bruno@clisp.org>
* progname.c (program_name): Initialize.
Needed when linking statically on MacOS X.
2005-01-27 Bruno Haible <bruno@clisp.org>
* Makefile.am (libgettextlib_la_SOURCES): Remove strtoul.c.
(LIBADD_SOURCE): Add strtoul.c here.
2005-01-28 Bruno Haible <bruno@clisp.org>
* stpncpy.h (stpncpy): Define as a macro without arguments, so that
stpncpy.c uses it.
2005-01-09 Bruno Haible <bruno@clisp.org>
* csharpcomp.sh.in (func_tmpdir): New function.
(mcs invocation): Use it. Fix exit code.
2005-01-07 Bruno Haible <bruno@clisp.org>
* csharpcomp.c: Include safe-read.h.
2005-01-06 Bruno Haible <bruno@clisp.org>
* fwriteerror.h (fwriteerror): Change specification to include fclose.
* fwriteerror.c: Include <stdbool.h>.
(fwriteerror): At the end, close the file stream. Record whether
stdout was already closed.
* closeout.c: Update comments.
2005-01-06 Bruno Haible <bruno@clisp.org>
* strerror.c: Update from gnulib, with HAVE_STRERROR modifications.
2005-01-06 Bruno Haible <bruno@clisp.org>
* strtol.c: Update from gnulib.
* strtoul.c: Update from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* strstr.c: Update from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* strpbrk.c: Update from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* strcspn.c: Update from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* strcasecmp.c: Update from gnulib.
* strncasecmp.c: Update from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* stpncpy.h: Update from gnulib.
* stpncpy.c: Update from gnulib with simplifications.
* Makefile.am (libgettextlib_la_SOURCES): Remove stpncpy.h, stpncpy.c.
(LIBADD_SOURCE): Add stpncpy.h, stpncpy.c.
* Makefile.msvc: Update.
* Makefie.vms: Update.
2005-01-06 Bruno Haible <bruno@clisp.org>
* error.h: Update from gnulib.
* error.c: Update from gnulib.
* Makefile.am (libgettextlib_la_SOURCES): Remove error.h, error.c.
(LIBADD_SOURCE): Add error.h, error.c here.
* Makefile.msvc: Update.
* Makefile.vms: Update.
2005-01-06 Bruno Haible <bruno@clisp.org>
* argmatch.h: Update from gnulib, with DLL_VARIABLE modifications.
* argmatch.c: Update from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* quote.h: New file, from gnulib.
* quote.c: New file, from gnulib.
* Makefile.am (libgettextlib_la_SOURCES): Add quote.h, quote.c.
* Makefile.msvc (OBJECTS): Add quote.obj.
(quote.obj): New rule.
* Makefile.vms (OBJECTS): Add quote.obj.
(quote.obj): New rule.
2005-01-06 Bruno Haible <bruno@clisp.org>
* exitfail.h: New file, from gnulib.
* exitfail.c: New file, from gnulib.
* Makefile.am (libgettextlib_la_SOURCES): Add exitfail.h, exitfail.c.
* Makefile.msvc (OBJECTS): Add exitfail.obj.
(exitfail.obj): New rule.
* Makefile.vms (OBJECTS): Add exitfail.obj.
(exitfail.obj): New rule.
2005-01-06 Bruno Haible <bruno@clisp.org>
* Makefile.am (libgettextlib_la_SOURCES): Remove getopt files.
(LIBADD_SOURCE): Add getopt files here, except getopt.h.
(BUILT_SOURCES, EXTRA_DIST, all-local, getopt.h): Support for getopt
module.
* getopt.h: Remove file.
* getopt_.h: New file, from gnulib, with DLL_VARIABLE modifications.
* getopt.c: Update from gnulib.
* getopt1.c: Update from gnulib.
* getopt_int.h: New file, from gnulib.
2005-01-06 Bruno Haible <bruno@clisp.org>
* fnmatch_.h: Upgrade from gnulib.
* fnmatch.c: Upgrade from gnulib.
* fnmatch_loop.c: New file, from gnulib.
* Makefile.am (DISTCLEANFILES): Remove fnmatch.h.
(BUILT_SOURCES): New variable.
(EXTRA_DIST): Add fnmatch_loop.c.
* Makefile.vms (fnmatch.obj): Depend also on fnmatch_loop.c.
2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
* alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
2004-12-18 Bruno Haible <bruno@clisp.org>
* fatal-signal.c (fatal_signals): Make non-const.
(init_fatal_signals): New function.
(uninstall_handlers, install_handlers): Ignore signals that were set to
SIG_IGN.
(at_fatal_signal): Call init_fatal_signals.
(init_fatal_signal_set): Likewise. Ignore signals that were set to
SIG_IGN.
Reported by Paul Eggert.
2004-11-11 Jim Meyering <jim@meyering.net>
* linebreak.c: Remove trailing blanks.
2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
* quotearg.c (struct quoting_options): Use unsigned int for
quote_these_too, so that right shifts are well defined. All uses
changed.
2004-11-05 Bruno Haible <bruno@clisp.org>
* readlink.c: Include stddef.h, needed for size_t on Woe32.
Reported by Mark D. Baushke <mdb@cvshome.org>.
2004-11-02 Bruno Haible <bruno@clisp.org>
* setenv.h (unsetenv): Define as a macro if the system's unsetenv()
function returns void.
2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
* unlocked-io.h: Don't worry about USE_UNLOCKED_IO; that's now
the includer's responsibility.
2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
* full-write.c: Import changes from coreutils.
2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
* safe-read.c: Import changes from coreutils.
2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
* quotearg.c, quotearg.h: Import changes from coreutils.
2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
* setenv.c: Import changes from coreutils.
2004-08-03 Simon Josefsson <jas@extundo.com>
* progname.h: Don't include stdbool.h.
2004-07-16 Bruno Haible <bruno@clisp.org>
* mbswidth.h: Add extern "C" for C++.
Reported by Albert Chin-A-Young <china@thewrittenword.com>.
2003-09-09 Paul Eggert <eggert@twinsun.com>
* memmove.c, memset.c: Include <stddef.h>.
Use types required by C89 in prototype.
2003-09-08 Paul Eggert <eggert@twinsun.com>
* atexit.c (atexit): Define using a prototype.
2004-12-10 Bruno Haible <bruno@clisp.org>
* obstack.h: Update from current gnulib version.
* obstack.c: Update from current gnulib version.
Reported by Raphaƫl Zhou <xzhou@tlmcom.fr>.
2004-11-23 Bruno Haible <bruno@clisp.org>
* gettext.h [!ENABLE_NLS]: When using GNU libstdc++, include
<libintl.h> early.
Reported by Peter Breitenlohner <peb@mppmu.mpg.de>.
2004-10-07 Bruno Haible <bruno@clisp.org>
* gen-lbrkprop.c (output_tables): Emit a GPL copyright notice.
* lbrkprop.h: Update.
2004-09-11 Bruno Haible <bruno@clisp.org>
* allocsa.valgrind: New file.
* Makefile.am (EXTRA_DIST): Add it.
2004-09-01 Bruno Haible <bruno@clisp.org>
* config.charset: Add support for Darwin 7.
2004-08-08 Bruno Haible <bruno@clisp.org>
* pathname.h (FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN.
* progreloc.c: Likewise.
* concatpath.c (concatenated_pathname): Use FILE_SYSTEM_PREFIX_LEN.
* basename.c (FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN.
(basename): Update.
* relocatable.c (FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN.
(compute_curr_prefix): Update.
2004-05-27 Bruno Haible <bruno@clisp.org>
* execute.c (environ): Declare if needed.
* pipe.c (environ): Likewise.
Reported by Michael Schloh von Bennewitz <michael.schloh@cw.com>.
2004-04-28 Bruno Haible <bruno@clisp.org>
* basename.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Treat Cygwin like
Windows, since it now accepts Windows pathnames.
* findprog.c (find_in_path): Treat Cygwin like Windows, since it also
implicitly appends .exe to executables.
* localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now
accepts Windows pathnames.
* pathname.h (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): Treat
Cygwin like Windows, since it now accepts Windows pathnames.
* relocatable.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
Treat Cygwin like Windows, since it now accepts Windows pathnames.
(compute_curr_prefix): Likewise.
* progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): Treat
Cygwin like Windows, since it now accepts Windows pathnames.
Reported by Derek Robert Price <derek@ximbiot.com>.
2004-04-23 Bruno Haible <bruno@clisp.org>
* localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR
environment variable to override LIBDIR.
Suggested by Matthias Clasen <mclasen@redhat.com>.
2004-04-20 Jim Meyering <jim@meyering.net>
Bruno Haible <bruno@clisp.org>
* localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak
memory when realloc fails.
2004-03-18 Paul Eggert <eggert@twinsun.com>
Bruno Haible <bruno@clisp.org>
* mbswidth.h: Include <wchar.h> only if HAVE_DECL_MBSWIDTH_IN_WCHAR_H,
not on all platforms that have <wchar.h>.
* mbswidth.c: Include <stdio.h> and <time.h> before <wchar.h>.
2004-03-19 Bruno Haible <bruno@clisp.org>
* Makefile.am (install-exec-clean): Don't remove libgettextlib.a on
AIX.
Reported by Kouichi Hashikawa <z01a7ksy@cs.ecip.tohoku.ac.jp>.
2004-03-08 Bruno Haible <bruno@clisp.org>
* csharpcomp.c (compile_csharp_using_sscli): Test whether csc is not
the chicken scheme's 'csc' compiler.
Reported by Colin Marquardt <colin@marquardt-home.de>.
2004-02-07 Bruno Haible <bruno@clisp.org>
* xalloc.h (xalloc_oversized): New macro, from gnulib.
* quotearg.h: New file, from gnulib.
* quotearg.c: New file, from gnulib.
* sh-quote.c: Include quotearg.h.
(sh_quoting_options): New variable.
(init_sh_quoting_options): New function.
(shell_quote_length, shell_quote_copy, shell_quote): Rewrite to use
quotearg.
* Makefile.am (libgettextlib_la_SOURCES): Add quotearg.h, quotearg.c.
* Makefile.msvc (OBJECTS): Add quotearg.obj.
(quotearg.obj): New rule.
* Makefile.vms (OBJECTS): Add quotearg.obj.
(quotearg.obj): New rule.
2004-02-06 Bruno Haible <bruno@clisp.org>
* allocsa.h (sa_alignof): Define differently with HP-UX cc, to avoid
a bug of this cc on HP-UX 10.20 dealing with enums.
Reported by Christopher Seip <chris.seip@hp.com>.
2004-02-03 Bruno Haible <bruno@clisp.org>
* pipe.c: New file, synthesis of pipe-in.c, pipe-out.c, pipe-bidi.c.
* pipe-in.c: Remove file.
* pipe-out.c: Remove file.
* pipe-bidi.c: Remove file.
* Makefile.am (libgettextlib_la_SOURCES): Add pipe.c, Remove pipe-in.c,
pipe-out.c, pipe-bidi.c.
* Makefile.msvc (OBJECTS): Add pipe.obj. Remove pipe-in.obj,
pipe-out.obj, pipe-bidi.obj.
(pipe.obj): New rule.
(pipe-in.obj, pipe-out.obj, pipe-bidi.obj): Remove rules.
* Makefile.vms (OBJECTS): Add pipe.obj. Remove pipe-in.obj,
pipe-out.obj, pipe-bidi.obj.
(pipe.obj): New rule.
(pipe-in.obj, pipe-out.obj, pipe-bidi.obj): Remove rules.
2004-01-29 Bruno Haible <bruno@clisp.org>
* gettext-0.14.1 released.
2004-01-28 Bruno Haible <bruno@clisp.org>
* gettext-0.14 released.
2004-01-24 Bruno Haible <bruno@clisp.org>
* progreloc.c (xstrdup): Define as strdup if no xmalloc should be used.
2004-01-21 Bruno Haible <bruno@clisp.org>
* config.charset: Add support for MacOS X (Darwin).
2004-01-10 Bruno Haible <bruno@clisp.org>
* csharpcomp.c (compile_csharp_using_pnet, compile_csharp_using_mono,
compile_csharp_using_sscli): New functions.
(compile_csharp_class): Call them. Respect the CSHARP_CHOICE_* macros.
* csharpexec.c (execute_csharp_using_pnet, execute_csharp_using_mono):
New functions.
(execute_csharp_program): Call them. Respect the CSHARP_CHOICE_*
macros.
2004-01-10 Bruno Haible <bruno@clisp.org>
* csharpcomp.sh.in: Copy the mcs output to stderr, dropping the
"Compilation succeeded" message.
* csharpcomp.c: Include errno.h, pipe.h, wait-process.h, getline.h.
(compile_csharp_class): Copy the mcs output to stderr, dropping the
"Compilation succeeded" message.
2003-12-26 Bruno Haible <bruno@clisp.org>
Support for C#.
* csharpcomp.sh.in: New file.
* csharpcomp.h: New file.
* csharpcomp.c: New file.
* csharpexec.sh.in: New file.
* csharpexec.h: New file.
* csharpexec.c: New file.
* classpath.c (CLASSPATHVAR): New variable.
(new_classpath, set_classpath, reset_classpath): Use it instead of
hardcoding "CLASSPATH".
* Makefile.am (libgettextlib_la_SOURCES): Add csharpcomp.h,
csharpcomp.c, csharpexec.h, csharpexec.c.
(examplesconfig_DATA): Add csharpcomp.sh.in, csharpexec.sh.in.
* Makefile.msvc (OBJECTS): Add csharpcomp.obj, csharpexec.obj.
(csharpcomp.obj, csharpexec.obj): New rules.
* Makefile.vms (OBJECTS): Add csharpcomp.obj, csharpexec.obj.
(csharpcomp.obj, csharpexec.obj): New rules.
2003-12-28 Bruno Haible <bruno@clisp.org>
* wait-process.c (wait_subprocess): Add ignore_sigpipe argument.
* wait-process.c (wait_subprocess): Likewise. Handle SIGPIPE specially.
* execute.h (execute): Add ignore_sigpipe argument.
* execute.c (execute): Likewise.
* javacomp.c (compile_java_class): Always pass ignore_sigpipe = false.
* javaexec.c (execute_java_class): Likewise.
2003-09-12 Paul Eggert <eggert@twinsun.com>
* setenv.c (clearenv): Define via prototype.
2003-09-10 Bruno Haible <bruno@clisp.org>
* setenv.c: Include <stdlib.h> and <string.h> unconditionally.
* unsetenv.c: Likewise.
2003-12-12 Bruno Haible <bruno@clisp.org>
Assume automake-1.8.
* Makefile.am (install-exec-local): Renamed from install-exec-am.
2003-11-30 Bruno Haible <bruno@clisp.org>
* alloca.c: Remove file.
* Makefile.am (LIBADD_SOURCE): Remove alloca.c.
(libgettextlib_la_LIBADD): Drop @LTALLOCA@.
2003-11-30 Bruno Haible <bruno@clisp.org>
Safer stack allocation.
* allocsa.h: New file.
* allocsa.c: New file.
* xallocsa.h: New file.
* xallocsa.c: New file.
* canonicalize.c: Include allocsa.h.
(__realpath): Use allocsa instead of alloca. Don't clobber errno right
before returning NULL.
* javacomp.c: Include xallocsa.h.
(compile_java_class): Use allocsa instead of alloca.
* javaexec.c: Include xallocsa.h.
(execute_java_class): Use allocsa instead of alloca.
* relocwrapper.c: Indirectly depends on allocsa.
* setenv.c: Include allocsa.h.
(alloca): Remove fallback definition.
(freea): Remove macro.
(__add_to_environ) [!_LIBC]: Use allocsa instead of alloca. Use freesa
instead of freea.
* Makefile.am (libgettextlib_la_SOURCES): Add allocsa.h, allocsa.c,
xallocsa.h, xallocsa.c.
* Makefile.msvc (OBJECTS): Add allocsa.obj, xallocsa.obj.
(allocsa.obj, xallocsa.obj): New rules.
* Makefile.vms (OBJECTS): Add allocsa.obj, xallocsa.obj.
(allocsa.obj, xallocsa.obj): New rules.
2003-12-17 Bruno Haible <bruno@clisp.org>
* gettext-0.13.1 released.
2003-12-02 Bruno Haible <bruno@clisp.org>
* config.charset: Treat the new country name CS like the old country
name YU.
2003-11-30 Bruno Haible <bruno@clisp.org>
* gettext-0.13 released.
2003-11-28 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (OBJECTS): Fix typo.
* wait-process.c (cleanup_slaves): Use ANSI C declaration.
2003-11-27 Bruno Haible <bruno@clisp.org>
* wait-process.c: On Windows, include windows.h. Needed on mingw.
2003-11-17 Bruno Haible <bruno@clisp.org>
* canonicalize.c: #undef realpath after <config.h> but before the
system includes, so as to avoid a prototype clash on Solaris 2.5.1.
Reported by Warren L. Dodge <warrend@mdhost.cse.tek.com>.
2003-11-17 Bruno Haible <bruno@clisp.org>
* wait-process.c (wait_process): Disable the 2003-10-31 waitid() patch.
2003-11-16 Bruno Haible <bruno@clisp.org>
* xsize.h (xmax): New function.
(xsum, xsum3, xsum4): Declare as "pure" functions.
2003-11-15 Bruno Haible <bruno@clisp.org>
* Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
2003-11-15 Bruno Haible <bruno@clisp.org>
* Makefile.am (docdir, examplesconfigdir, examplesconfig_DATA): New
variables.
2003-11-11 Bruno Haible <bruno@clisp.org>
* xsize.h (SIZE_MAX): Remove fallback definition.
2003-11-05 Bruno Haible <bruno@clisp.org>
* xsize.h: Include limits.h, to avoid a possible collision with
SIZE_MAX defined in <limits.h> on Solaris.
2003-11-04 Bruno Haible <bruno@clisp.org>
* xsize.h: New file.
* linebreak.c: Include xsize.h.
(mbs_possible_linebreaks, mbs_width_linebreaks): Check malloc()
argument for overflow.
* Makefile.am (libgettextlib_la_SOURCES): Add xsize.h.
2003-10-31 Bruno Haible <bruno@clisp.org>
* wait-process.c (wait_process): Use waitid with WNOWAIT if available,
to avoid (extremely rare) race condition.
2003-10-27 Bruno Haible <bruno@clisp.org>
* stdbool_.h: Better support for BeOS.
2003-10-14 Bruno Haible <bruno@clisp.org>
* hash.h: Make it includable in C++ mode.
2003-10-21 Bruno Haible <bruno@clisp.org>
* canonicalize.c (lstat): Define as an alias to 'stat' on systems
without symbolic links.
2003-10-21 Bruno Haible <bruno@clisp.org>
* wait-process.c (kill): Define appropriately for native Woe32 API.
2003-10-21 Bruno Haible <bruno@clisp.org>
* mkdtemp.c (mkdir): Redefine on mingw.
2003-10-17 Bruno Haible <bruno@clisp.org>
* binary-io.h: Avoid warnings on Cygwin.
2003-10-09 Bruno Haible <bruno@clisp.org>
* xalloc.h: Renamed from xmalloc.h.
* classpath.c: Include xalloc.h instead of xmalloc.h.
* concatpath.c: Likewise.
* fatal-signal.c: Likewise.
* findprog.c: Likewise.
* fstrcmp.c: Likewise.
* hash.c: Likewise.
* javacomp.c: Likewise.
* javaexec.c: Likewise.
* progreloc.c: Likewise.
* relocatable.c: Likewise.
* sh-quote.c: Likewise.
* w32spawn.h: Likewise.
* wait-process.c: Likewise.
* xgetcwd.c: Likewise.
* xmalloc.c: Likewise.
* xreadlink.c: Likewise.
* xstrdup.c: Likewise.
* Makefile.am (libgettextlib_la_SOURCES): Use xalloc.h instead of
xmalloc.h.
* Makefile.msvc: Reorder accordingly.
* Makefile.vms: Likewise.
2003-10-07 Bruno Haible <bruno@clisp.org>
More reliable subprocess cleanup.
* javacomp.c (compile_java_class): Pass slave_process = true to
execute(). create_pipe_in(), wait_subprocess().
* javaexec.c (execute_java_class): Pass slave_process = true to
execute().
* wait-process.h (wait_subprocess): Add slave_process argument.
(register_slave_subprocess): New declaration.
* wait-process.c: Include string.h, signal.h, fatal-signal.h,
xmalloc.h.
(slaves_entry_t): New type.
(static_slaves, slaves, slaves_count, slaves_allocated): New variables.
(TERMINATOR): New macro.
(cleanup_slaves, register_slave_subprocess,
unregister_slave_subprocess): New functions.
(wait_subprocess): Add slave_process argument.
* execute.h (execute): Add slave_process argument.
* execute.c: Include signal.h, fatal-signal.h.
(execute): Add slave_process argument.
* pipe.h (create_pipe_in, create_pipe_out, create_pipe_bidi): Add
slave_process argument.
* pipe-in.c: Include signal.h, fatal-signal.h, wait-process.h.
(create_pipe_in): Add slave_process argument.
* pipe-out.c: Include signal.h, fatal-signal.h, wait-process.h.
(create_pipe_out): Add slave_process argument.
* pipe-bidi.c: Include signal.h, fatal-signal.h, wait-process.h.
(create_pipe_bidi): Add slave_process argument.
2003-10-08 Bruno Haible <bruno@clisp.org>
* fatal-signal.h: New file.
* fatal-signal.c: New file.
* Makefile.am (libgettextlib_la_SOURCES): Add them.
* Makefile.msvc (OBJECTS): Add fatal-signal.obj.
(fatal-signal.obj): New rule.
* Makefile.vms (OBJECTS): Add fatal-signal.obj.
(fatal-signal.obj): New rule.
2003-09-21 Bruno Haible <bruno@clisp.org>
* vasprintf.c (int_vasprintf): Assume ANSI C when copying a structure.
2003-09-16 Bruno Haible <bruno@clisp.org>
Portability to SunOS 4.
* atexit.c: New file, from gnulib with modifications.
* Makefile.am (LIBADD_SOURCE): Add atexit.c.
2003-09-14 Bruno Haible <bruno@clisp.org>
* closeout.c: Include fwriteerror.h.
(close_stdout_status): Use improved errno value from fwriteerror().
Don't call fclose; it is be done implicitly during exit().
2003-09-14 Bruno Haible <bruno@clisp.org>
* fwriteerror.h: New file.
* fwriteerror.c: New file.
* Makefile.am (libgettextlib_la_SOURCES): Add fwriteerror.h,
fwriteerror.c.
* Makefile.msvc (OBJECTS): Add fwriteerror.obj.
(fwriteerror.obj): New rule.
* Makefile.vms (OBJECTS): Add fwriteerror.obj.
(fwriteerror.obj): New rule.
2003-09-13 Bruno Haible <bruno@clisp.org>
* closeout.h: New file, from gnulib with modifications.
* closeout.c: New file, from gnulib with modifications.
* Makefile.am (libgettextlib_la_SOURCES): Add closeout.h, closeout.c.
* Makefile.msvc (OBJECTS): Add closeout.obj.
(closeout.obj): New rule.
* Makefile.vms (OBJECTS): Add closeout.obj.
(closeout.obj): New rule.
2003-09-12 Paul Eggert <eggert@twinsun.com>
* progreloc.c (get_full_program_name): Define via prototype.
2003-08-28 Bruno Haible <bruno@clisp.org>
* binary-io.h: Undefine O_BINARY before defining it. This avoids a
warning on QNX, which defines O_BINARY to 000000.
2003-08-27 Bruno Haible <bruno@clisp.org>
* getopt.h: Include config.h. Needed for DLL_VARIABLE on OSF/1 4.0.
2003-08-24 Bruno Haible <bruno@clisp.org>
* binary-io.h: Include <stdio.h>, to avoid a compilation error when
MSVC7 <stdio.h> is included later.
2003-08-24 Bruno Haible <bruno@clisp.org>
* error.h: Use ANSI C "..." declarations when compiling with MSVC, even
though it doesn't define __STDC__ by default.
* error.c: Use <stdarg.h> when compiling with MSVC, even though it
doesn't define __STDC__ by default.
2003-08-24 Bruno Haible <bruno@clisp.org>
Support for building DLLs on Windows.
* argmatch.h (argmatch_die): Add DLL_VARIABLE attribute.
* backupfile.h (simple_backup_suffix): Likewise.
* error.h (error_print_progname, error_message_count,
error_one_per_line): Likewise.
* error-progname.h (error_with_progname): Likewise.
* getopt.h (optarg, optind, opterr, optopt): Likewise.
* obstack.h (obstack_alloc_failed_handler, obstack_exit_failure):
Likewise.
* progname.h (program_name): Likewise.
2003-08-24 Bruno Haible <bruno@clisp.org>
* backupfile.h: Make this file includable in C++ mode: add extern "C".
* basename.h: Likewise.
* copy-file.h: Likewise.
* error-progname.h: Likewise.
* findprog.h: Likewise.
* full-write.h: Likewise.
* pathname.h: Likewise.
* pipe.h: Likewise.
* progname.h: Likewise.
* relocatable.h: Likewise.
* stpcpy.h: Likewise.
* stpncpy.h: Likewise,
* strcase.h: Likewise.
* strstr.h: Likewise.
* wait-process.h: Likewise.
* xerror.h: Likewise.
* xmalloc.h: Likewise.
2003-08-23 Bruno Haible <bruno@clisp.org>
* getline.h: Update from gnulib.
* getline.c: Update from gnulib.
* getndelim2.h: New file, from gnulib.
* getndelim2.c: New file, from gnulib.
* Makefile.am (LIBADD_SOURCE): Add getndelim2.h, getndelim2.c.
* Makefile.msvc (OBJECTS): Add getndelim2.obj.
(getndelim2.obj): New rule.
* Makefile.vms (OBJECTS): Add getndelim2.obj.
(getndelim2.obj): New rule.
2003-08-23 Bruno Haible <bruno@clisp.org>
* fnmatch_.h: Renamed from pfnmatch.h.
* fnmatch.c: Renamed from pfnmatch.c.
* Makefile.am (LIBADD_SOURCE): Remove pfnmatch.h, pfnmatch.c, add
fnmatch.c.
(EXTRA_DIST): Add fnmatch_.h.
(all-local): Depend on fnmatch.h.
(fnmatch.h): New rule.
(MOSTLYCLEANFILES): Add fnmatch.h.
* Makefile.msvc (OBJECTS): Remove pfnmatch.obj, add fnmatch.obj.
(fnmatch.obj): Renamed from pfnmatch.obj.
* Makefile.vms (OBJECTS): Remove pfnmatch.obj, add fnmatch.obj.
(fnmatch.h): Update rule.
(fnmatch.obj): Renamed from pfnmatch.obj.
2003-07-01 Paul Eggert <eggert@twinsun.com>
* xreadlink.c: Include <sys/types.h> unconditionally, instead of
having it depend on HAVE_SYS_TYPES_H.
2003-06-27 Bruno Haible <bruno@clisp.org>
Avoid use of *_unlocked functions on Solaris 2.5.1.
* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
2003-08-22 Bruno Haible <bruno@clisp.org>
* error-progname.h: New file, extracted from progname.h.
* error-progname.c: New file, extracted from progname.c.
* progname.h (error_with_progname, maybe_print_progname): Remove
declarations.
* progname.c (error_with_progname): Remove variable.
(maybe_print_progname): Remove function.
* xerror.c: Include error-progname.h.
* Makefile.am (libgettextlib_la_SOURCES): Add error-progname.h and
error-progname.c.
* Makefile.msvc (OBJECTS): Add error-progname.obj.
(error-progname.obj): New rule.
* Makefile.vms (OBJECTS): Add error-progname.obj.
(error-progname.obj): New rule.
2003-08-20 Bruno Haible <bruno@clisp.org>
* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2003-08-11 Bruno Haible <bruno@clisp.org>
* stdbool_.h: Update from gnulib.
2003-08-11 Bruno Haible <bruno@clisp.org>
* stdbool_.h (_Bool): Undo last change; instead use a negative
enum value to ensure that _Bool promotes to int. Use #define
for _Bool when using the Solaris C compiler. Adds comments
suggested by Paul Eggert.
2003-08-03 Paul Eggert <eggert@twinsun.com>
* stdbool_.h (_Bool): Make it signed char, instead of
an enum type, so that it's guaranteed to promote to int. See:
<http://mail.gnu.org/archive/html/bug-gnulib/2003-07/msg00124.html>
2003-05-28 Paul Eggert <eggert@twinsun.com>
* safe-read.c (CHAR_BIT): Don't define, since <limits.h> is guaranteed
to do that.
* safe-read.c (INT_MAX): Don't define, since <limits.h> does that.
* safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed.
* safe-read.c: Remove TYPE_SIGNED; no longer needed.
2003-04-25 Bruno Haible <bruno@clisp.org>
* copy-file.c: Include <stddef.h>, for size_t.
2003-03-03 Paul Eggert <eggert@twinsun.com>
Bruno Haible <bruno@clisp.org>
* mbswidth.h: Include <wchar.h>. Needed for UnixWare 7.1.1.
Reported by John Hughes, see
http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html
2003-01-28 Bruno Haible <bruno@clisp.org>
* c-ctype.h: Assume C_CTYPE_CONSECUTIVE_DIGITS.
(c_isascii, c_isalnum, c_isalpha, c_isxdigit): Optimize.
* c-ctype.c (c_isascii, c_isalnum, c_isalpha, c_ispunct, c_isxdigit):
Optimize.
Suggested by Paul Eggert.
2003-01-23 Bruno Haible <bruno@clisp.org>
* minmax.h: Add comments from Paul Eggert.
2002-11-15 Bruno Haible <bruno@clisp.org>
* strcspn.c: Include <stddef.h>.
* strpbrk.c: Minimize diffs to glibc. Include <stddef.h>.
2003-08-14 Bruno Haible <bruno@clisp.org>
* config.charset: Add support for Linux libc5. Based on data from
Alain Guibert <derogaton+bgli@oreka.com>.
2003-08-01 Bruno Haible <bruno@clisp.org>
* relocatable.c (find_shared_library_fullname): Disable the code on
Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2003-07-09 Paul Eggert <eggert@twinsun.com>
* alloca_.h: Switch from LGPL to GPL.
2003-07-01 Bruno Haible <bruno@clisp.org>
* readlink.c: New file, from gnulib.
* Makefile.am (LIBADD_SOURCE): Add it.
2003-07-01 Bruno Haible <bruno@clisp.org>
* Makefile.am (EXTRA_DIST, stdbool.h): Use stdbool_.h instead of
stdbool.h.in.
2003-05-28 Paul Eggert <eggert@twinsun.com>
* pathmax.h: Include <limits.h> without checking for HAVE_LIMITS_H.
* addext.c: Likewise.
* backupfile.c: Likewise.
* xreadlink.c: Likewise.
2003-06-23 Bruno Haible <bruno@clisp.org>
Avoid compilation units that are empty after preprocessing.
* canonicalize.c: Add dummy declaration.
* strerror.c: Likewise.
* strtoul.c: Likewise.
* error.c: Include <stdio.h> even if there's nothing to be compiled.
2003-06-22 Bruno Haible <bruno@clisp.org>
Portability to mingw32.
* relocatable.c [WIN32]: Include <windows.h>.
Reported by Jeff Bonggren <jbon@cfl.rr.com>.
2003-06-22 Bruno Haible <bruno@clisp.org>
* relocatable.c (compute_curr_prefix): Comment out this function in
the case when it is not used.
Reported by Pavel Roskin <proski@gnu.org>.
2003-06-13 Bruno Haible <bruno@clisp.org>
* wait-process.h (wait_subprocess): Add null_stderr argument.
* wait-process.c (wait_subprocess): Add null_stderr argument.
When !exit_on_error && !null_stderr, still emit error messages, but
don't exit.
* execute.c (execute): When !exit_on_error && !null_stderr, still
emit error messages, but don't exit. Update wait_subprocess call.
* pipe-in.c (create_pipe_in): When !exit_on_error && !null_stderr,
still emit error messages, but don't exit.
* pipe-out.c (create_pipe_out): Likewise.
* pipe-bidi.c (create_pipe_bidi): Likewise.
* javacomp.c (compile_java_class): Update wait_subprocess call.
2003-06-08 Bruno Haible <bruno@clisp.org>
* Makefile.vms (alloca.h): New rule.
(all, javacomp.obj, javaexec.obj): Depend on it.
(getopt.obj): Compile with ELIDE_CODE.
* canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
* xgetcwd.c (getcwd) [VMS]: Pass 3 arguments.
Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
2003-05-22 Bruno Haible <bruno@clisp.org>
* gettext-0.12.1 released.
2003-05-18 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (DEBUGFLAGS): New variable.
(gettextlib.lib): Use it.
2003-05-17 Bruno Haible <bruno@clisp.org>
* gettext-0.12 released.
2003-05-17 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (OBJECTS): Remove strpbrk.obj.
(strpbrk.obj): Remove rule.
* w32spawn.h (dup_noinherit): Cast _get_osfhandle result and
_open_osfhandle argument, to avoid warnings.
(prepare_spawn): Add a cast.
* execute.c (execute) [WIN32]: Don't call wait_subprocess; the
return value from spawnvp is already the exit code.
2003-05-10 Bruno Haible <bruno@clisp.org>
* linebreak.c (iconv_string_length): Don't return -1 just because the
string is longer than 4 KB.
2003-05-09 Bruno Haible <bruno@clisp.org>
* error.c: Update from gnulib with modifications.
* unlocked-io.h: New file, from gnulib.
* Makefile.am (libgettextlib_la_SOURCES): Add it.
2003-05-09 Bruno Haible <bruno@clisp.org>
* canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
"extraneous semicolon" warning from Tru64 cc.
2003-05-06 Bruno Haible <bruno@clisp.org>
* Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV.
* Makefile.msvc (CFLAGS): Likewise.
2003-05-03 Bruno Haible <bruno@clisp.org>
Upgrade to Unicode-4.0.
* linebreak.c (nonspacing_table_data): Change width of U+00AD,
U+0350..U+0357, U+035D..U+035F, U+0600..U+0603, U+0610..U+0615,
U+0656..U+0658, U+0A01, U+0AE2..U+0AE3, U+0CBC, U+17B4..U+17B5,
U+17DD, U+1920..U+1922, U+1927..U+192B, U+1932, U+1939..U+193B
from 1 to 0. Change width of U+0CBF, U+0CC6, U+180E from 0 to 1.
(uc_width): Change width of U+4DC0..U+4DFF from 2 to 1. Change width
of U+2A6D7..U+2F7FF, U+2FA1E..U+2FFFD, U+30000..U+3FFFD from 1 to 2.
Change width of U+E0100..U+E01EF from 1 to 0.
2003-05-02 Bruno Haible <bruno@clisp.org>
Support for libtool-1.5.
* progname.c (set_program_name): Remove a leading "<dirname>/.libs/lt-"
or "<dirname>/.libs/", not only "lt-".
2003-04-12 Bruno Haible <bruno@clisp.org>
* Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
lines. Update library creation rule. Don't use the force target.
Correct wildcard syntax. Create fnmatch.h.
Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
2003-04-12 Bruno Haible <bruno@clisp.org>
* localcharset.c (get_charset_aliases): Add special case for VMS.
2003-04-10 Bruno Haible <bruno@clisp.org>
* findprog.c (find_in_path): Use 'bool' and eaccess().
Suggested by Paul Eggert.
2003-04-06 Bruno Haible <bruno@clisp.org>
* progname.c: Move out all methods depending on ENABLE_RELOCATABLE...
* progreloc.c: ... to here. New file.
* Makefile.am (libgettextlib_la_SOURCES): Add progreloc.c.
* Makefile.msvc (OBJECTS): Add progreloc.obj.
(progreloc.obj): New rule.
* Makefile.vms (OBJECTS): Add progreloc.obj.
(progreloc.obj): New rule.
2003-04-05 Bruno Haible <bruno@clisp.org>
* relocatable.c: Rely on DEPENDS_ON_LIBCHARSET, DEPENDS_ON_LIBICONV,
DEPENDS_ON_LIBINTL, not on NO_LIBRARIES.
* Makefile.am (DEFS): Define DEPENDS_ON_LIBINTL and DEPENDS_ON_LIBICONV,
for relocatable.c.
* Makefile.msvc (CFLAGS): Also define DEPENDS_ON_LIBINTL and
DEPENDS_ON_LIBCONV.
2003-04-05 Bruno Haible <bruno@clisp.org>
* relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
declared by <stdio.h>.
2003-03-30 Bruno Haible <bruno@clisp.org>
* xgetcwd.c: Include <unistd.h>.
2003-04-03 Bruno Haible <bruno@clisp.org>
* w32spawn.h (dup_noinherit): Signal an error instead of returning -1.
* execute.c: Reorder includes.
* pipe-bidi.c: Likewise.
* pipe-in.c: Likewise.
* pipe-out.c: Likewise.
2003-04-02 Bruno Haible <bruno@clisp.org>
* binary-io.h: Cosmetics. Suggested by Jim Meyering.
2003-03-30 Bruno Haible <bruno@clisp.org>
* Makefile.vms: New file.
* Makefile.am (EXTRA_DIST): Add Makefile.vms.
* execute.c (open): #undef before redefining it. Needed for VMS.
* pipe-in.c (open): Likewise.
* pipe-out.c (open): Likewise.
2003-03-31 Bruno Haible <bruno@clisp.org>
* sh-quote.c (shell_quote_length, shell_quote_copy): Handle empty
argument string correctly.
2003-03-30 Bruno Haible <bruno@clisp.org>
* progname.c (ISSLASH, HAS_DEVICE, IS_PATH_WITH_DIR,
FILESYSTEM_PREFIX_LEN): New macros.
(maybe_executable): Make a nop on Woe32.
(find_executable) [WIN32]: Fix compilation.
* relocatable.h (RELOCATABLE_DLL_EXPORTED): New macro.
* w32spawn.h: New file.
* execute.c: Add alternative implementation using native Woe32 API.
* pipe-bidi.c: Likewise.
* pipe-in.c: Likewise.
* pipe-out.c: Likewise.
* wait-process.c: Likewise.
* Makefile.am (libgettextlib_la_SOURCES): Add w32spawn.h.
* pipe.h (DEV_NULL): New macro.
* javacomp.c (compile_java_class): Use DEV_NULL instead of "/dev/null".
* pipe-bidi.c (STDERR_FILENO): Provide a fallback value.
* pipe-in.c (STDERR_FILENO): Likewise.
* pipe-out.c (STDERR_FILENO): Likewise.
* copy-file.c (copy_file_preserving): Don't set owner if the function
chown() doesn't exist.
2003-03-17 Bruno Haible <bruno@clisp.org>
Native Woe32/MSVC support.
* Makefile.msvc: New file.
* Makefile.am (EXTRA_DIST): Add it.
2003-03-28 Bruno Haible <bruno@clisp.org>
* copy-file.h (copy_file_preserving): Renamed from copy_file.
* copy-file.c (copy_file_preserving): Renamed from copy_file.
Preserve the owner and group as well.
2003-02-28 Bruno Haible <bruno@clisp.org>
Support for relocatable installation.
* canonicalize.h: New file.
* canonicalize.c: New file, from glibc 2.3.1 with modifications.
* relocatable.h: New file.
* relocatable.c: New file.
* relocwrapper.c: New file.
* strerror.c: New file, from gnulib with modifications.
* xreadlink.h: New file, from gnulib with modifications.
* xreadlink.c: New file, from gnulib with modifications.
* progname.h (set_program_name_and_installdir): New declaration.
(set_program_name) [ENABLE_RELOCATABLE]: Define as macro.
(get_full_program_name): New declaration.
* progname.c: Include xreadlink.h, canonicalize.h, relocatable.h.
(executable_fd): New variable.
(maybe_executable): New function.
(find_executable): New function.
(executable_fullname): New variable.
(prepare_relocate): New function.
(set_program_name_and_installdir): New function.
(get_full_program_name): New function.
* localcharset.c: Include relocatable.h.
(get_charset_aliases): Relocate LIBDIR value.
* xmalloc.h (xalloc_die): New declaration.
* xmalloc.c (xalloc_die): New function.
(fixup_null_alloc): Use it.
* Makefile.am (libgettextlib_la_SOURCES): Add xreadlink.h, xreadlink.c.
(LIBADD_SOURCE): Add canonicalize.h, canonicalize.c, memmove.c,
relocatable.h, relocatable.c, strerror.c.
(UNUSED_SOURCE): Remove memmove.c.
(EXTRA_DIST): Add relocwrapper.c.
2003-02-28 Bruno Haible <bruno@clisp.org>
* localcharset.h: Change copyright to LGPL. Enclose declaration in
extern "C", for C++ compilers.
* localcharset.c: Drop C linkage declaration.
2003-01-29 Bruno Haible <bruno@clisp.org>
* config.charset: Add an alias for CP1251 on Solaris.
Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
2003-02-18 Bruno Haible <bruno@clisp.org>
* copy-file.c: Include safe-read.h.
(copy_file): Simplify code by using safe_read() instead of read().
2003-02-12 Bruno Haible <bruno@clisp.org>
* Makefile.am (EXTRA_DIST): Add ChangeLog.0.
See ChangeLog.0 for earlier changes.
|