summaryrefslogtreecommitdiff
path: root/extension/ChangeLog
blob: b3c9c0d7ae0f54bdb967314832369275b336cb9d (plain)
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
2015-03-18         Arnold D. Robbins     <arnold@skeeve.com>

	* inplace.3am (SYNOPSIS): Updated to not show the contents
	of the extension.
	(BUGS): Removed.

2015-03-17         Arnold D. Robbins     <arnold@skeeve.com>

	* inplace.c (do_inplace_begin): Jump through more hoops to satisfy
	a newer version of clang.
	* inplace.3am (BUGS): Add new section and documentation.

2015-02-26         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (EXTRA_DIST): Add rwarray0.c to the list.

2015-02-11         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c: Punctuation fix.

2015-01-24         Arnold D. Robbins     <arnold@skeeve.com>

	Infrastructure updates.

	Automake 1.15. Libtool 2.4.5.

	* configure.ac: Remove gettext macros.

2015-01-07         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (var_test): Adjust for PROCINFO now being there.

2014-11-23         Arnold D. Robbins     <arnold@skeeve.com>

	* inplace.c (do_inplace_begin): Jump through hoops to silence
	GCC warnings about return value of chown.

2014-10-12         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (uninstall-so): Remove *.lib too, per suggestion
	from Andreas Buening.

2014-10-12         KO Myung-Hun          <komh78@gmail.com>

	Fixes for OS/2:

	* Makefile.am (uninstall-so): Remove *.dll and *.a, also.

2014-10-08         Arnold D. Robbins     <arnold@skeeve.com>

	* inplace.c (do_inplace_begin): Use a cast to void in front
	of the second call to chown to avoid compiler warnings from clang.

2014-09-29         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c: Minor edits to sync with documentation.
	* testext.c: Add test to get PROCINFO, expected to fail.

2014-08-12         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (RM): Define for makes that don't have it,
	such as on OpenBSD.  Thanks to Jeremie Courreges-Anglas
	<jca@wxcvbn.org> for the report.

2014-06-13         Paul Gortmaker        <paul.gortmaker@windriver.com>

	* Makefile.am (uninstall-so): Came across below bug while cross
	compiling, and changed both install-data-hook and uninstall-so
	to use $(DESTDIR) on v4.1.1 before seeing most of the fix in
	gawk-4.1.1-3-g976f73ab0356; here we ensure uninstall-so also
	uses the $(DESTDIR) prefix on its use of pkgextensiondir.

2014-04-11         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (install-data-hook): Use $(DESTDIR) when removing
	the .la files. Thanks to Lars Wendler <polynomial-c@gentoo.org>
	for the report and fix.

2014-04-08         Arnold D. Robbins     <arnold@skeeve.com>

	* 4.1.1: Release tar ball made.

2014-04-08         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Bump version before release.

2014-04-04         Arnold D. Robbins     <arnold@skeeve.com>

	* time.c: Include <time.h> unconditionally to get declaration
	of nanosleep on Linux. Avoids a warning. Thanks to Michal
	Jaegermann.

2014-03-31         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Remove -Wextra to avoid killing compilations
	on older versions of gcc. Thanks to Antonio Diaz Diaz for
	the report.

2014-03-28         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Add AC_HEADER_TIME and AC_HEADER_DIRENT, and
	rearrange order of macros some. May help on older systems.

2014-03-27         Arnold D. Robbins     <arnold@skeeve.com>

	* readfile.c: Add an input parser that works off of
	PROCINFO["readfile"].
	* readfile.3am: Document same.

2014-03-23         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkfts.c (MAXPATHLEN): Add a default definition. Thanks to
	Antonio Diaz Dian and Nelson H.F. Beebe.
	* readdir.c (PATH_MAX): Add a default definition. Thanks to
	Nelson H.F. Beebe.

2014-03-08         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* filefuncs.c (read_symlink, do_fts): Replace free with gawk_free.
	* inplace.c (at_exit, do_inplace_end): Ditto.
	* readdir.c (dir_close): Ditto.
	* readfile.c (do_readfile): Ditto.
	* revtwoway.c (close_two_proc_data): Ditto.
	* rwarray.c (read_elem): Replace realloc with gawk_realloc.
	(read_value): Replace malloc and free with gawk_malloc and gawk_free.
	* testext.c (try_modify_environ): Replace free with gawk_free.

2014-02-12         John E. Malmberg      <wb8tyw@qsl.net>

	* time.c: Better hack for nanosleep bug based on feedback from HP.

2013-12-29         John E. Malmberg      <wb8tyw@qsl.net>

	* filefuncs.c: Fix compile on VMS.
	* time.c: Fix compile on VMS.

2013-12-29         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkfts.c: Wrap include of <sys/param.h> in HAVE_SYS_PARAM_H,
	as I should have done to start with.  For VMS.

2013-12-29         John E. Malmberg      <wb8tyw@qsl.net>

	* gawkdirfd.h: Adjust include for VMS.
	* filefuncs.c: Make it compile on VMS.
	* fnmatch.c: Make it compile on VMS.

2013-12-21         Mike Frysinger        <vapier@gentoo.org>

	* configure.ac: Remove MirBSD and OS/390 hack to create
	do-nothing Makefile. Should be handled by configure in the
	parent directory.

2013-12-21         Arnold D. Robbins     <arnold@skeeve.com>

	* configure, aclocal.m4: Updated to automake 1.13.4 and
	libtool 2.4.2.418.

2013-11-28         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (uninstall-so, uninstall-recursive): Remove the
	.so files. Keeps make distcheck happy.

2013-11-17  Dmitry V. Levin  <ldv@altlinux.org>

	* Makefile.am (dist_man_MANS): Add inplace.3am.

2013-10-23  Michael Haubenwallner <michael.haubenwallner@salomon.at>

	Fix portability for AIX.

	* inplace.c (_XOPEN_SOURCE): Define when not defined yet.
	(_XOPEN_SOURCE_EXTENDED): Ditto. Needs to define a number.

2013-08-22         Arnold D. Robbins     <arnold@skeeve.com>

	Clean up some warnings from -Wextra.

	* gawkfts.c (fts_set): Add cast to void for sp.
	* inplace.c (at_exit): Add cast to void for data and exit_status.
	* readdir.c (ftype): Add cast to void for dirname.
	(dir_get_record): Assign NULL to *rt_start.
	* revtwoway.c (rev2way_get_record): Add cast to void for errcode.
	(rev2way_fwrite): Add cast to void for fp.
	(rev2way_take_control_of): Add cast to void for name.
	* testext.c (test_array_param, test_scalar, test_scalar_reserved,
	test_indirect_vars): Add cast to void for nargs.

2013-08-20         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkdirfd.h: Include ../nonposix.h to get FAKE_FD_VALUE.

2013-08-06         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c: Change _WIN32 to __MINGW32__ globally, per
	Eli Zaretskii.

2013-08-02         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_fts): Add a version for _WIN32 that prints a
	"not supported" fatal message.  This is slightly better than the
	"fts not found" which is otherwise produced.

2013-07-24         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkdirfd.h (FAKE_FD_VALUE): Move definition up in the file to give
	clean compile on MinGW.

2013-06-10         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac (AC_HEADER_MAJOR): New macro added.
	Add check for limits.h header.
	* filefuncs.c: Add the right stuff to get the major/minor macros.
	* readdir.c: Add include of limits.h appropriately wrapped.

	Thanks to ICHII Takashi <ichii386@schweetheart.jp> for the reports
	and pointers.

2013-06-01  Eli Zaretskii  <eliz@gnu.org>

	* filefuncs.c [_WIN32]: Define WIN32_LEAN_AND_MEAN before
	including windows.h.

	* readdir.c [__MINGW32__]: Define WIN32_LEAN_AND_MEAN before
	including windows.h.

	* filefuncs.c [HAVE_GETSYSTEMTIMEASFILETIME]: Define
	WIN32_LEAN_AND_MEAN before including windows.h.

2013-05-29         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Add <sys/param.h> header check.
	* filefuncs.c: Include <sys/param.h> if there.
	(device_blocksize): New function.
	(fill_stat_array): Call it.

2013-05-27         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac (AC_STRUCT_ST_BLKSIZE): Replaced with call to
	AC_CHECK_MEMBERS.
	* filefuncs.c (fill_stat_array): Change test from ifdef
	HAVE_ST_BLKSIZE to HAVE_STRUCT_STAT_ST_BLKSIZE.

2013-05-20         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkdirfd.h [FAKE_FD_VALUE]: Copied here from ../gawkapi.h.

2013-05-16         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am (install-data-hook): Remove .la files installed by
	Automake.  Leaves less clutter, if not (yet) less noise.

2013-05-16         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (fill_stat_array): For _WIN32 use a blocksize of
	4096 for the "blksize" element, per Eli Zaretskii.

	* configure.ac [AC_STRUCT_ST_BLKSIZE]: Add call that was missing.
	ARGH!!!!

2013-05-14  Eli Zaretskii  <eliz@gnu.org>

	* rwarray.c [__MINGW32__]: Include winsock2.h instead of
	arpa/inet.h.

	* readdir.c [__MINGW32__]: Include windows.h.
	Include gawkapi.h before gawkdirfd.h, since the former defines
	FAKE_FD_VALUE needed by the latter.
	(ftype): Accept an additional argument, the directory that is
	being read.  Callers changed.
	[!DT_BLK]: Produce the file's type by calling 'stat' on it, if the
	dirent structure doesn't provide that.
	(get_inode): New function, to produce inode values on MS-Windows.
	(dir_get_record): Use it.

	* inplace.c (chown, link) [__MINGW32__]: Redirect to existing
	library functions.
	(mkstemp) [__MINGW32__]: New function, for MinGW, which doesn't
	have it in its library.
	(do_inplace_end) [__MINGW32__]: Remove the old file before
	renaming the new, since 'rename' on Windows cannot overwrite
	existing files.

	* gawkdirfd.h (ENOTSUP): Define to ENOSYS if not already defined.
	(DIR_TO_FD): If not defined yet, define to FAKE_FD_VALUE.

	* filefuncs.c (get_inode) [_WIN32]: New function, produces the
	file index used on Windows as its inode.
	(fill_stat_array) [_WIN32]: Use it.

2013-05-09         Arnold D. Robbins     <arnold@skeeve.com>

	* 4.1.0: Release tar ball made.

2013-04-18         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Update copyright.
	For z/OS: If uname output is OS/390, just blast the Makefile,
	same as for MirBSD.

2013-04-17         Corinna Vinschen      <vinschen@redhat.com>

	* Makefile.am (MY_LIBS): Use $(LTLIBINTL) since we use libtool,
	not LIBINTL.

2013-04-16         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readdir.c, readfile.c,
	revoutput.c, revtwoway.c, rwarray.c, rwarray0.c, stack.c, stack.h,
	testext.c, time.c: Update copyright year.

	Update to automake 1.13.1:

	* configure, Makefile.in, aclocal.m4: Regenerated.

2013-03-24         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkdirfd.h: Improve test for doing own dirfd function. Needed
	for IRIX.

2013-03-20         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Add AC_OUTPUT_COMMANDS that drops in a do-nothing
	Makefile for MirBSD, since the extensions can't be built on MirBSD.
	* configure: Regenerated.
	* Makefile.am (check-for-shared-lib-support): Update comment some.
	* gawkfts.c (MAX): Provide for systems that don't (Solaris).

2013-03-04         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (fill_stat_array): Adjust computation for block
	count for WIN32 systems after consultation with Eli Zaretskii.

2013-02-26         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (check-recursive, all-recursive): Make dependant upon
	check-for-shared-lib-support.
	(check-for-shared-lib-support): New target. If gawk doesn't have the
	API built-in, don't try to build.

2013-02-11         Arnold D. Robbins     <arnold@skeeve.com>

	* fnmatch.c: Pull in versions of C routine from missing_d
	if the native system doesn't provide them.

2013-02-11         Eli Zaretskii	<eliz@gnu.org>

	* filefuncs.c (S_ISLNK, lstat, readlink, S_IRGRP, S_IWGRP, S_IXGRP,
	S_IROTH, S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, major, minor):
	Define if needed.
	(fill_stat_array, init_filefuncs, func_table): Fix for Win 32.
	* time.c: Port to Win 32.

2013-01-27         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkdirfd.h: New file.
	* Makeile.am (filefuncs_la_SOURCES, readdir_la_SOURCES): Use it.
	* gawkfts.c, readdir.c: Include gawkdirfd.h.
	* configure.ac (AC_USE_SYSTEM_EXTENSIONS): Added.
	(GAWK_FUNC_DIRFD, GAWK_PREREQ_DIRFD): New calls.
	(.developing): Fix check.
	* alocal.m4: Updated.
	* configure: Regenerated.
	* gawkdirfd.h: Fixed for Mac OS X also.

2013-01-25         Arnold D. Robbins     <arnold@skeeve.com>

	* gawkfts.c: Make include of <limits.h> be unconditional.

2013-01-22         Arnold D. Robbins     <arnold@skeeve.com>

	Improve portability. We hope.

	* gawkfts.c (S_ISREG): Define macro if not defined.
	(_BSD_SOURCE): Define for use with c99 compiler driver.
	* inplace.c (S_ISREG): Define macro if not defined.
	(_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED): Define for use with c99
	compiler driver.
	* filefuncs.c (_BSD_SOURCE): Define for use with c99 compiler driver.
	* readfile.c (_BSD_SOURCE): Define for use with c99 compiler driver.
	* revtwoway.c (_BSD_SOURCE): Define for use with c99 compiler driver.

2013-01-18         Arnold D. Robbins     <arnold@skeeve.com>

	* readfile.c (do_readfile): Free `text' if read fails. Thanks to
	cppcheck.
	* inplace.c (do_inplace_begin): Check chown return value in an if
	to shut up compiler warning.

2013-01-15         Arnold D. Robbins     <arnold@skeeve.com>

	* inplace.3am: New file.
	* filefuncs.3am, fnmatch.3am, fork.3am, ordchr.3am, readdir.3am,
	readfile.3am, revoutput.3am, revtwoway.3am, rwarray.3am,
	time.3am: Update copyright dates, add reference to inplace(3am).

	* inplace.c (do_inplace_begin): Remove unused variable `p'.

2013-01-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* inplace.c (do_inplace_begin): No need to get the 2nd suffix argument,
	since it is not currently used in this function.

2013-01-08         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* inplace.c: New extension to implement in-place editing.
	* Makefile.am: Add inplace extension.

2012-12-25         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.3am, fnmatch.3am: Predefined variables are no
	longer constants.
	* filefuncs.c (init_filefuncs): Use sym_update() instead of
	sym_constant().
	* fnmatch.c (init_fnmatch): Ditto.
	* testext.c (init_testext): Ditto.

2012-12-24         Arnold D. Robbins     <arnold@skeeve.com>

	* 4.0.2: Release tar ball made.

2012-12-19         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (test_indirect_vars): New test and awk code.

2012-12-02         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (EXTRA_DIST): Add README.fts.

2012-11-30         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c readdir.c, revoutput.c, revtwoway.c, rwarray.c,
	rwarray0.c, testext.c: Use awk_true and awk_false instead of 1 and 0.

2012-11-26         Arnold D. Robbins     <arnold@skeeve.com>

	* bindarr.c, fileop.c, sparr.c: Make them compile.
	* steps: Reinstated and updated.
	* testsparr.awk: Add call to extension().

2011-05-03         John Haque     <j.eh@mchsi.com>

	* fileop.c, record.awk, testrecord.sh: New files.
	* steps: Updated.

2011-05-02         John Haque     <j.eh@mchsi.com>

	* bindarr.c, dbarray.awk, testdbarray.awk: New files.
	* steps: Updated.

2011-04-24         John Haque     <j.eh@mchsi.com>

	* spec_array.c, spec_array.h, sparr.c, testsparr.awk: New files.
	* steps: Updated.

2012-11-21         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_stat): Optional third argument indicates to
	use stat(2) instead of lstat(2).
	* filefuncs.3am: Document same.

2012-11-19         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c: Simplify code to always print file type and not
	use stat().
	* readdir.3am: Document same.

2012-11-16         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c: In awk code, use printf(...) instead of the form
	without parentheses everywhere. This makes Nelson happy.

2012-11-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	Bug fix for filesystems without d_type in directory entry.

	* readdir.c (open_directory_t): Add more fields for path.
	(ftype): Take open_directory_t argument. Build the full path
	for lstat. Adjust calls.
	(dir_close): Free the storage.
	(dir_take_control_of): Allocate storage for the path.

2012-11-06         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Add check for $srcdir/.developing as in
	the main directory's configure.ac.

2012-11-04         Arnold D. Robbins     <arnold@skeeve.com>

	* rwarray.3am: Minor edits.

2012-10-28         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (dist_man_MANS): Update the list.

2012-10-26         Arnold D. Robbins     <arnold@skeeve.com>

	* revtwoway.3am: Clean up example.
	* revtwoway.c: Minor cleanup (add translation calls).

2012-10-24         Arnold D. Robbins     <arnold@skeeve.com>

	* revtwoway.3am: New file.

2012-10-21         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_stat): Always clear the array.

2012-10-14         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c, revoutput.c, revtwoway.c: Adjust for name change
	of IOBUF_PUBLIC to awk_input_buf_t. Additional sanitizing in
	revoutput.c to use `revoutput' everywhere instead of `revout'.
	* revoutput.3am: New file.
	* filefuncs.3am, fnmatch.3am, fork.3am, ordchr.3am, readdir.3am,
	readfile.3am, rwarray.3am, time.3am: Add ref to revoutput(3am).

2012-10-11         Arnold D. Robbins     <arnold@skeeve.com>

	* textext.c (try_modify_environ): Save array cookie in a separate
	variable so it isn't clobbered. Thanks to Andrew Schorr, by way
	of valgrind, for finding the bug.

2012-09-14         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (try_modify_environ): New function and test.
	(var_test): Modified ARGC test, added additional.
	(test_scalar_reserved): New function and test.
	(try_modify_environ): Don't print count of ENVIRON elements.

2012-09-13         Dave Pitts            <dpitts@cozx.com>

	* gawkfts.c: Add defines and ifdefs for z/OS.
	* gawkfts.h: Add defines and ifdefs for z/OS. Fix // comments.
	* readdir.c (dir_get_record): Adjust sprintf format for z/OS.
	* rwarray.c: Add defines and ifdefs for z/OS. Fix // comments.

2012-09-11         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c (do_readdir_do_ftype): Set ERRNO for bad arguments.
	* readdir.3a: Document same, minor fixes.

2012-09-07         Akim Demaille         <akim@lrde.epita.fr>

	* extension/gawkfts.h (__THROW): Define if it is not.
	Copied from getopt.h.
	* extension/gawkfts.c (fts_alloc): Since FTSENT.fts_statp is
	defined as a struct stat*, use that type for casts instead of
	the undefined __fts_stat_t type.

2012-09-07         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c, readdir.3am: Change argument to readdir_do_ftype()
	to be a string. Update the doc accordingly.
	* gawkfts.h: Add explanatory comment before defines of API
	names towards the end. Thanks to Eli Zaretskii for the suggestion.

2012-08-28         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* readdir.c: Have three states, 0, 1, 2 for never, fallback, and
	always.
	* readdir.3am: Adjust appropriately.

2012-08-29         Arnold D. Robbins     <arnold@skeeve.com>

	Make fts work everywhere by using our own source.

	* README.fts, gawkfts.c, gawkfts.h, fts.3: New files.
	* Makefile.am (filefuncs_la_SOURCES, EXTRA_DIST): Adjust.
	* configure.ac: Remove check for fts.h and fts_XXX functions.
	* filefuncs.c: Remove various ifdefs, change includes around.

2012-08-28         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am: Rename man_MANS to dist_man_MANS to include the man
	pages in the distribution tarball.

2012-08-26         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac (AC_SYS_LARGEFILE): Added. Needed for consistency
	with gawk, to get the same size struct stat everywhere.
	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readdir.c, readfile.c,
	revoutput.c, revtwoway.c, rwarray.c, rwarray0.c, testext.c,
	time.c: Move include of config.h to top (or add it!)

2012-08-24         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readdir.c, readfile.c,
	revoutput.c, revtwoway.c, rwarray.c, rwarray0.c, testext.c,
	time.c: Add ext_version string.

2012-08-23         Arnold D. Robbins     <arnold@skeeve.com>

	* revoutwoway.c: New testing extension for two way processor.
	* Makefile.am: Build revtwoway extension.
	* readdir.c: Fix to fall back to stat if d_type is 'u' and
	do_ftype is one.
	* readdir.3am: Revise doc that some GNU/Linux filesystems
	don't support d_type.

2012-08-22         Arnold D. Robbins     <arnold@skeeve.com>

	* revoutput.c: New testing extension for output wrapper.
	* Makefile.am: Build revoutput extension.

2012-08-08         Arnold D. Robbins     <arnold@skeeve.com>

	Add fts() to filefuncs.

	* filefuncs.3am: Update doc.
	* filefuncs.c: Lots of new code.
	* configure.ac: Add checks for appropriate headers and functions.
	* stack.h, stack.c: New files.
	* Makefile.am: Update list of files.

	* readdir.c (dir_can_take_file): Use members in iobuf.
	* rwarray.c (do_writea): Initialize fp to NULL.

	* filefuncs.3am, fnmatch.3am, fork.3am, ordchr.3am, readdir.3am,
	readfile.3am, rwarray.3am, time.3am: Updated.

2012-08-03         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* readdir.c (dir_get_record): Fix for systems where ino_t is
	64 bit even on 32 bit systems (cygwin).

2012-08-01         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (man_MANS): Add man page files so that they
	get installed.
	* rwarray.3am: New file.
	* fnmatch.3am, fork.3am, time.3am: Revised.

2012-07-31         Arnold D. Robbins     <arnold@skeeve.com>

	* rwarray0.c: Renamed from rwarray.c.
	* rwarray.c: New file using stdio instead of system calls,
	works on cygwin.

2012-07-30         Arnold D. Robbins     <arnold@skeeve.com>

	* ABOUT-NLS: New file.
	* Makefile.am, configure.ac: Revised for gettext.

	* fork.3am, readdir.3am, time.3am: New files.
	* filefuncs.3am, fnmatch.3am, ordchr.3am, readfile.3am: Revised.

2012-07-29         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* readdir.c (dir_get_record): Adjust to new interface for RT.

2012-07-29         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c (dir_take_control_of): Print error message and
	set ERRNO if failure. Adjust count of max digits.

2012-07-27         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am (*_la_LIBADD): Need to link with $(LIBINTL) for
	gettext to work on platforms where it is not included in libc.

2012-07-27         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* readdir.c (dir_get_record): Need to set errno to 0 before calling
	readdir, since readdir sets errno only on failure, not on EOF.

2012-07-27         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* readdir.c (dir_get_record): If readdir fails, set errcode.  Otherwise,
	don't bother to set errcode.

2012-07-27         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c (dir_take_control_of): Fix typo for case where
	we don't have fopendir (e.g., Mac OS X 10.5).

2012-07-26         Arnold D. Robbins     <arnold@skeeve.com>

	* configure.ac: Extremely crude hack to get the value of
	ENABLE_NLS so that gettext will work in extensions.

	* readdir.c (dir_get_record): Call set_RT.
	(dir_can_take_file): Make parameter const.

	* testext.c (valrep2str): Add AWK_VALUE_COOKIE.

	* readdir.c: Add readdir_do_ftype function for systems without
	dirent->d_type.  Clean up buffer handling.

2012-07-26         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* readdir.c (dir_get_record): No need to set *errcode to 0.
	(dir_take_control_of): Remove some paranoia -- no need to test for
	NULL iobuf, and no need to check dir_can_take_file again.

2012-07-25         Arnold D. Robbins     <arnold@skeeve.com>

	* readdir.c: New file.
	* Makefile.am (readdir): New extension.

	* time.c: Fix all calls to update_ERRNO_string.

	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readfile.c, rwarray.c,
	time.c: Translate strings.

2012-07-20         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.3am, fnmatch.3am, ordchr.3am, readfile.3am:
	new files.

2012-07-16         Arnold D. Robbins     <arnold@skeeve.com>

	* fnmatch.c: Simplify flag table.

2012-07-15         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (test_scalar): New function and new tests.
	(init_testext): Add a new variable.

2012-07-13         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (fill_stat_array): New function to do the work
	for stat.
	(do_stat): Call it.

2012-07-12         Arnold D. Robbins     <arnold@skeeve.com>

	* fnmatch.c: New file.
	* Makefile.am: Build fnmatch extension.
	* configure.ac: Look for fnmatch.h and fnmatch function.

	* fnmatch.c (init_fnmatch): Use sym_constant for FNM_NOMATCH.
	* testext.c (dl_load): Use sym_constant for answer_num.

	* testext.c (init_testext): Move extra code to here.
	(init_func): Change to point to init_testext.
	(dl_load): Deleted.
	(dl_load_func): Use the macro.

2012-07-11         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (array_set, do_stat): Use make_const_string.
	* fork.c (array_set_numeric): Ditto.
	* ordchr.c (do_chr): Ditto.
	* readfile.c (do_readfile): Use make_null_string, make_malloced_string.
	* rwarray.c (read_elem): Ditto.
	* testext.c (valrep2str): Add case for AWK_SCALAR.
	(test_array_elem): Duplicate strings coming from gawk before passing
	them back in.

	All files: Add null 'init_func' file pointer for dl_load_func
	to work.

2012-07-09         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_readfile): Return "" and set ERRNO on error
	instead of returning -1. Per suggestion from Andrew Schorr.

2012-07-08         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (array_set): Adjust for change in set_array_element API.
	* fork.c (array_set_numeric): Ditto.
	* rwarray.c (read_array): Use set_array_element_by_elem.
	(read_value): Add a cast to silence a compiler warning.
	* testext.c (test_array_elem): Adjust for change in set_array_element
	API.
	(fill_in_array): Ditto. Change parameter name to new_array.

2012-06-29         Arnold D. Robbins     <arnold@skeeve.com>

	* ordchr.c (do_ord, do_chr): Improve argument checking and
	lint messages.

2012-06-25         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am (EXTRA_DIST): Remove *.awk.
	* rwarray.awk: Moved to test directory.

2012-06-24         Arnold D. Robbins     <arnold@skeeve.com>

	* Makefile.am: Enable rwarray extension.
	* rwarray.c: Redone to use new API.
	* rwarray.awk: Revamped for new version.

2012-06-21         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (test_array_elem): Add a subarray.
	(test_array_flatten): Removed: Tests done elsewhere.

2012-06-20         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (fill_in_array): New function.
	(create_new_array): Most code moved into fill_in_array.
	(test_array_param): New function.

2012-06-19         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c (dump_array_and_delete): Renamed from dump_array.
	Get second parameter which is index to delete. Update awk test.

2012-06-18         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_chdir): Change element use to match change types.
	* fork.c (array_set_numeric): Ditto.
	* testext.c (valrep2str): New function.
	(test_array_elem): Add AWK_UNDEFINED for `wanted'. Use valrep2str.
	Adjust use of element index.
	(dump_array): Renamed from `dump_procinfo' and implemented.
	(func_table): Updated.

2012-06-17         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_chdir, do_stat): Add assert(result != NULL).
	* fork.c (do_fork, do_waitpid, do_wait): Ditto.
	* ordchr.c (do_ord, do_chr): Ditto.
	* readfile.c (do_readfile): Ditto.
	* time.c (do_gettimeofday, do_sleep): Ditto.
	* testext.c (All functions): Ditto. Clean up initial testing and use
	make_number to make default return value up front.
	(create_new_array, test_array_flatten): New functions.
	(test_array_elem): Implemented.
	(at_exit1): Don't printa actual pointer value: not portable.
	(dl_load): Load up an array also.

2012-06-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* time.c (RETURN): Remove obsolete define.
	(do_sleep): Change update_ERRNO_str argument to request translation.

2012-06-12         Arnold D. Robbins     <arnold@skeeve.com>

	Revise API:

	* filefuncs.c (do_chdir): Replace get_curfunc_param with get_argument.
	(format_mode): Use unsigned masks.
	(do_stat): Replace get_curfunc_param with get_argument.
	* fork.c (do_fork): Rearrange arg order in call to sym_lookup
	(do_waitpid): Replace get_curfunc_param with get_argument.
	* ordchr.c (do_ord, do_chr): Replace get_curfunc_param with get_argument.
	* readfile.c (do_readfile): Replace get_curfunc_param with get_argument.
	* time.c (do_sleep): Replace get_curfunc_param with get_argument.
	Replace set_ERRNO with update_ERRNO_str for no way to sleep case.

	Work on testext.c:

	* Makefile.am: Add stuff to make testext. Remove doit and steps
	from EXTRA_DIST.
	* testext.c: Fill in many of the test routines. Still more to do.
	Fix up test scripts for each routine.
	* time.c (do_sleep): Fix use of get_argument to be boolean.

2012-06-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am: Add time extension.
	* configure.ac: To support time extension, check for some headers
	and functions that are needed.
	* time.c: New file implementing sleep and gettimeofday.

2012-06-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am: Remove comment referring to deleted test extensions
	arrayparm, dl (zaxxon) and testarg.

2012-06-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* arrayparm.c, dl.c, doit, foo.awk, steps, testarg.awk, testarg.c,
	testarrayparm.awk, testff.awk, testfork.awk, testordchr.awk: Remove
	unused (obsolete) files.

2012-06-06         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (do_stat): Make `type' const char *.

	* testext.c: Functions renamed, some of them filled in. Corresponding
	awk code for each test added inline.

2012-05-30         Arnold D. Robbins     <arnold@skeeve.com>

	* testext.c: New file. Outline of tests for extension API.

2012-05-29         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c: Further cleanup and condensation of code into tables.
	* fork.c, ordchr.c, readfile.c: Update copyright, general cleanup.

2012-05-25         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs.c (array_set_numeric): Don't return a value from
	a void function.

2012-05-24         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am (AM_CPPFLAGS): Use $(srcdir) to work properly when
	built outside the source directory.
	* configure.ac (INSTALL): Set location manually since autoconf was
	not specifying the proper path for install-sh.
	* filefuncs2.c, ordchr2.c, readfile2.c: Deleted.
	* filefuncs.c: Install filefuncs2.c and patch for recent API changes.
	* ordchr.c: Install ordchr2.c and patch for recent API changes.
	* readfile.c: Install readfile2.c and patch for recent API changes.
	* fork.c: Port to new API.

2012-05-21         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* configure.ac: New file to run configure with libtool support
	in this subdirectory.
	* Makefile.am: Some changes related to running automake in this
	directory.
	* AUTHORS, COPYING, INSTALL, NEWS, README: Added files to make automake
	happy.
	* aclocal.m4, configure, configh.in: Added autoconf files.
	* build-aux, m4: New subdirectories for autoconf stuff.

2012-05-15         Arnold D. Robbins     <arnold@skeeve.com>

	* filefuncs2.c: New file implementing chdir and stat using the
	new interface.

	Everything else is temporarily broken.

2012-05-13         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* filefuncs.c (array_set): Add a comment discussing the use of unref
	on the value returned by assoc_lookup.

2012-05-13         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* xreadlink.[ch]: Remove unused files.

2012-05-11         Arnold D. Robbins     <arnold@skeeve.com>

	Sweeping change: Use `bool', `true', and `false' everywhere.

2012-04-11         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* filefuncs.c (array_set): New function to set an array element.
	(do_set): Use new array_set function to reduce code duplication and
	to make sure the memory management is handled properly.

2012-04-07         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* filefuncs.c: Remove unnecessary #include <sys/sysmacros.h>.
	(read_symlink): New function to read symbolic links more robustly.
	(do_stat): Use read_symlink instead of readlink.
	* fork.c (do_wait): new function.
	(dlload): Call make_builtin to add "wait" function.

2012-04-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* fork.c (do_fork): Test whether PROCINFO_node exists before updating
	the pid values.  And do so properly using make_number.
	* readfile.c (do_readfile): Function should be static.

2012-04-01         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* filefuncs.c (do_chdir, do_stat): Replace update_ERRNO() with
	update_ERRNO_int(errno).
	* fork.c (do_fork, do_waitpid): Ditto.
	* readfile.c (do_readfile): Ditto.
	* rwarray.c (do_writea, do_reada): Ditto.

2012-03-25         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am: Major cleanup.  Use libtool options -module and
	-avoid-version to create the modules properly without my local hack
	to override the default behavior.

2012-03-25         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* .gitignore: New file to ignore files created by libtool (including
	binaries and associated metadata).

2012-03-21         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am (INCLUDES): Remove -I$(top_srcdir)/intl.

2012-03-20         Andrew J. Schorr     <aschorr@telemetry-investments.com>

	* Makefile.am: New file to build and install shared libraries.
	* arrayparm.c (do_mkarray): Get it to compile by removing 2nd arg
	to assoc_clear.
	* filefuncs.c (do_stat): Ditto.

2011-08-31         John Haque     <j.eh@mchsi.com>

	* arrayparm.c, filefuncs.c, fork.c, ordchr.c, readfile.c,
	rwarray.c, testarg.c: Updated.

2012-03-28         Arnold D. Robbins     <arnold@skeeve.com>

	* 4.0.1: Release tar ball made.

2011-06-23         Arnold D. Robbins     <arnold@skeeve.com>

	* ChangeLog.0: Rotated ChangeLog into this file.
	* ChangeLog: Created anew for gawk 4.0.0 and on.
	* 4.0.0: Release tar ball made.