Blame extension/ChangeLog

Packit 575503
2018-02-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.2.1: Release tar ball made.
Packit 575503
Packit 575503
2018-02-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Restore checking for PPC Macintosh before
Packit 575503
	checking for MPFR. See README_d/README.macosx for info.
Packit 575503
Packit 575503
2018-02-21         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Remove checking for PPC Macintosh before
Packit 575503
	checking for MPFR. Installing a newer compiler on that
Packit 575503
	system allows things to work.
Packit 575503
Packit 575503
2018-02-17         Michal Jaegermann     <michal.jnn@gmail.com>.
Packit 575503
Packit 575503
	* filefuncs.3am, filefuncs.c, fnmatch.3am, revoutput.3am,
Packit 575503
	revtwoway.3am: Spelling and typo fixes.
Packit 575503
Packit 575503
2018-02-14         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add stuff for finding gettext. Helps in
Packit 575503
	finding MPFR on some systems.
Packit 575503
Packit 575503
2018-02-11         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* intdiv.c (do_intdiv): Print a warning about loss of precision if
Packit 575503
	MPFR arguments are received when not compiled with MPFR support.
Packit 575503
Packit 575503
2018-02-08         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* configure.ac (pkgextensiondir): This must be set to
Packit 575503
	'${libdir}/gawk'${EXTENSIONDIR} to match gawk's value.
Packit 575503
	The previous value of '${pkglibdir}'${EXTENSIONDIR} was incorrect,
Packit 575503
	because it was putting the extensions in the gawk-extensions
Packit 575503
	libdir subdirectory, instead of the gawk subdirectory.
Packit 575503
Packit 575503
2018-02-02         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.3am, fnmatch.3am, fork.3am, inplace.3am,
Packit 575503
	ordchr.3am, readdir.3am, readfile.3am, revoutput.3am,
Packit 575503
	revtwoway.3am, rwarray.3am, time.3am: Add vim modeline at the
Packit 575503
	bottom to set the file type for syntax coloring.
Packit 575503
Packit 575503
2018-01-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* compile, config.guess, config.rpath, config.sub,
Packit 575503
	depcomp: Updated from GNULIB.
Packit 575503
Packit 575503
2018-01-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c, fnmatch.c, fork.c, inplace.c, intdiv.c, ordchr.c,
Packit 575503
	readdir.c, readdir_test.c, readfile.c, revoutput.c, revtwoway.c,
Packit 575503
	rwarray.c, rwarray0.c, testext.c, time.c: Remove incorrect '*'
Packit 575503
	on declarations of ext_id in sample extension code. Thanks to
Packit 575503
	Panos Papadopoulos <panos1962@gmail.com> for the report.
Packit 575503
Packit 575503
2017-12-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac (fmod): Put AC_SEARCH_LIBS before the call
Packit 575503
	to AC_CHECK_FUNCS and put fmod back into that list. Finally
Packit 575503
	causes config.h to have the correct check for HAVE_FMOD.
Packit 575503
	Thanks again to Michal Jaegermann <michal.jnn@gmail.com>.
Packit 575503
Packit 575503
2017-12-28         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	More configuration fixes, mainly for Fedora. Thanks to
Packit 575503
	Michal Jaegermann <michal.jnn@gmail.com> for the reports
Packit 575503
	and for validating.
Packit 575503
Packit 575503
	* configure.ac (AC_HEADER_MAJOR): Comment out, no longer works.
Packit 575503
	(sys/sysmacros.h, sys/mkdev.h): Check for header existence.
Packit 575503
	(fmod): Check with AC_SEARCH_LIBs instead of AC_CHECK_FUNCS.
Packit 575503
	* filefuncs.c: Rework header inclusion checks and order so
Packit 575503
	that we get the `major' macro without warnings on Fedora.
Packit 575503
	* fnmatch.c: Ditto.
Packit 575503
Packit 575503
2017-12-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkfts.c (fts_safe_changedir): Add check for path not null
Packit 575503
	before trying to open it. Thanks to Michal Jaegermann
Packit 575503
	<michal.jnn@gmail.com> for the report.
Packit 575503
Packit 575503
2017-12-24          Michal Jaegermann    <michal.jnn@gmail.com>
Packit 575503
Packit 575503
	* intdiv.c: Fix compilation for MPFR 2.4.1.
Packit 575503
Packit 575503
2017-12-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add support for the --enable-versioned-dir option
Packit 575503
	in the main configure program.
Packit 575503
Packit 575503
2017-12-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add --disable-mpfr to be in sync with main
Packit 575503
	configure.ac and revise checking for MPFR appropriately.
Packit 575503
	* ext_custom.h: Use bug reporting address instead of my
Packit 575503
	personal address for reports of changes to this file.
Packit 575503
Packit 575503
2017-10-28         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.c (do_writea): Fix description in comment.
Packit 575503
	(write_array): Free the flattened array if writing an element fails.
Packit 575503
Packit 575503
2017-10-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.2.0: Release tar ball made.
Packit 575503
Packit 575503
2017-09-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.c: Increase the version.
Packit 575503
Packit 575503
2017-09-17         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Move include of <sys/stat.h> to after include
Packit 575503
	of <sys/sysmacros.h> to (try to) avoid a Fedora compilation
Packit 575503
	warning. Update copyright year.
Packit 575503
Packit 575503
2017-09-13         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.c: Update copyright year.
Packit 575503
Packit 575503
2017-09-12         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.c: Add support for writing/reading undefined values.
Packit 575503
Packit 575503
2017-08-30         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* fnmatch.c: Use the right autoconf goop to get the major
Packit 575503
	and minor macros out of <sys/sysmacros.h>. Thanks to
Packit 575503
	David Kaspar <dkaspar@redhat.com> for the report.
Packit 575503
Packit 575503
2017-08-21         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (ntdiv_la_LIBADD): Add -lm for Solaris systems,
Packit 575503
	per report from Nelson H.F. Beebe.
Packit 575503
Packit 575503
2017-08-21         Daniel Richard G.     <skunk@iSKUNK.ORG>
Packit 575503
Packit 575503
	* configure: Regenerated after update to m4/arch.m4.
Packit 575503
Packit 575503
2017-08-19         Eli Zaretskii         <eliz@gnu.org>
Packit 575503
Packit 575503
	* testext.c (test_get_file): Don't remove outfile from the Gawk
Packit 575503
	script, as that fails on MS-Windows.
Packit 575503
Packit 575503
2017-08-14         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Bump associated gawk version.
Packit 575503
Packit 575503
2017-08-11         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* intdiv.c: No need to include <gmp.h> explicitly, since <mpfr.h>
Packit 575503
	does this for us.
Packit 575503
Packit 575503
2017-08-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* intdiv.c (init_intdiv): Remove function, since dl_load_func now
Packit 575503
	calls check_mpfr_version automatically.
Packit 575503
	(init_func): Initialize to NULL instead of init_intdiv.
Packit 575503
Packit 575503
2017-08-04         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am: Update copyright year.
Packit 575503
Packit 575503
2017-06-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makfile.am (intdiv_la_LIBADD): Add LIBMPFR for Cygwin.
Packit 575503
	Thanks to Eli Zaretskii for the tip that this is necessary.
Packit 575503
Packit 575503
2017-06-22         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* rwarray.c (read_value): Use malloc instead of calloc, since
Packit 575503
	we immediately overwrite the buffer with data from the file.
Packit 575503
	* rwarray0.c (read_value): Ditto.
Packit 575503
Packit 575503
2017-06-22         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readfile.c (read_file_to_buffer): Use emalloc instead of ezalloc,
Packit 575503
	since there's no need to initialize the memory to zero before 
Packit 575503
	overwriting it with the file's contents.
Packit 575503
Packit 575503
2017-06-21         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_fts): Replace emalloc+memset with ezalloc.
Packit 575503
	* readfile.c (read_file_to_buffer): Ditto.
Packit 575503
	* rwarray.c (read_value): Replace gawk_malloc+memset with gawk_calloc.
Packit 575503
	* gawkfts.c (fts_open): Replace malloc+memset with calloc.
Packit 575503
	* rwarray0.c (read_value): Ditto.
Packit 575503
Packit 575503
2017-04-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* intdiv.c (func_table): Function is now named intdiv.
Packit 575503
Packit 575503
2017-04-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* intdiv.c (do_intdiv): On division by zero, return -1 and issue a
Packit 575503
	warning instead of throwing a fatal error.
Packit 575503
Packit 575503
2017-04-13         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* intdiv.c (do_intdiv): On a division by zero fatal error, there's
Packit 575503
	no need to clear the numerator and denominator and add a fake return.
Packit 575503
Packit 575503
2017-04-13         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Alphabetize function list in AC_CHECK_FUNCS.
Packit 575503
	* intdiv.c: Add descriptive comments to some functions.
Packit 575503
	(do_intdiv): Make division by zero fatal in MPFR case.
Packit 575503
Packit 575503
2017-04-03         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.c (inplace_end): Correct the function name in the
Packit 575503
	wrong argument count error message. Thanks to Dan Neilsen
Packit 575503
	for the report.
Packit 575503
Packit 575503
2017-03-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c: Minor edits.
Packit 575503
	* readdir_test.c: Same minor edits, update copyright year,
Packit 575503
	bump version of extension in case this ever becomes the real one.
Packit 575503
Packit 575503
2017-03-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): Add additional parameter to make types
Packit 575503
	match and remove compiler warning.
Packit 575503
	* readfile.c (readfile_get_record): Ditto.
Packit 575503
	* revtwoway.c (rev2way_get_record): Ditto.
Packit 575503
Packit 575503
2017-03-21         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir_test.c (open_directory_t): Replace field_width array
Packit 575503
	with new awk_fieldwidth_info_t structure. Wrap it in a union so
Packit 575503
	we can allocate the proper size.
Packit 575503
	(dir_get_record): Update field_width type from
Packit 575503
	'const awk_input_field_info_t **' to 'const awk_fieldwidth_info_t **'.
Packit 575503
	Update new fieldwidth parsing info appropriately.
Packit 575503
	(dir_take_control_of): Populate new fieldwidth parsing structure
Packit 575503
	with initial values.
Packit 575503
Packit 575503
2017-03-09         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir_test.c (open_directory_t): Update field_width type from an
Packit 575503
	array of integers to an array of awk_input_field_info_t.
Packit 575503
	(dir_get_record): Ditto.
Packit 575503
	(dir_take_control_of): Ditto.
Packit 575503
Packit 575503
2017-03-07         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (pkgextension_LTLIBRARIES): Remove testext.la, since it
Packit 575503
	does not make sense to install this library.
Packit 575503
	(noinst_LTLIBRARIES): New variable containing list of libraries to
Packit 575503
	build for testing purposes only. These libraries will not be installed.
Packit 575503
	Initially, it contains only testext.la.
Packit 575503
	(testext_la_LDFLAGS): Add "-rpath /foo" to convince automake/libtool
Packit 575503
	to build a shared version of this library. Since it is not being
Packit 575503
	installed, automake cannot use the final destination directory to
Packit 575503
	determine -rpath by itself. The value doesn't matter.
Packit 575503
Packit 575503
2017-03-06         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir_test.c: Test extension using new get_record field_width
Packit 575503
	parsing feature.
Packit 575503
	* Makefile.am (noinst_LTLIBRARIES): Add readdir_test.la.
Packit 575503
	(readdir_test_la_*): Configure building of new extension library.
Packit 575503
Packit 575503
2017-01-21  Eli Zaretskii  <eliz@gnu.org>
Packit 575503
Packit 575503
	* testext.c (getuid) [__MINGW32__]: New function, mirrors what
Packit 575503
	pc/getid.c does in Gawk.
Packit 575503
	* rwarray.c [__MINGW32__]: Include stdint.h, otherwise using
Packit 575503
	uint32_t causes compilation errors.
Packit 575503
	* inplace.c (_XOPEN_SOURCE): Define to 1, not to nothing.  MinGW
Packit 575503
	system headers assume that if this is defined, it must have a
Packit 575503
	numeric value.
Packit 575503
Packit 575503
2017-01-06         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* intdiv.c: New extension to demonstrate how to implement intdiv
Packit 575503
	using the new extended-precision math API.
Packit 575503
	* Makefile.am (pkgextension_LTLIBRARIES): Add intdiv.la.
Packit 575503
	(intdiv_la_SOURCES, intdiv_la_LDFLAGS, intdiv_la_LIBADD): Add support
Packit 575503
	for new intdiv library.
Packit 575503
	* configure.ac (AC_CHECK_FUNCS): Check for fmod needed by intdiv.
Packit 575503
	(GNUPG_CHECK_MPFR): Add check for MPFR support.
Packit 575503
Packit 575503
2016-12-22         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (valrep2str): Update for new API types.
Packit 575503
Packit 575503
2016-12-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Update func_table again.
Packit 575503
Packit 575503
2016-12-14         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Update do_xxx to match new API. Update func_table.
Packit 575503
	* fnmatch.c: Ditto.
Packit 575503
	* fork.c: Ditto.
Packit 575503
	* inplace.c: Ditto.
Packit 575503
	* ordchr.c: Ditto.
Packit 575503
	* readdir.c: Ditto.
Packit 575503
	* readfile.c: Ditto.
Packit 575503
	* revoutput.c: Ditto.
Packit 575503
	* revtwoway.c: Ditto.
Packit 575503
	* rwarray.c: Ditto.
Packit 575503
	* rwarray0.c: Ditto.
Packit 575503
	* testext.c: Ditto.
Packit 575503
	* time.c: Ditto.
Packit 575503
Packit 575503
2016-12-12         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (func_table): Adjust ordering of min and max
Packit 575503
	for stat.
Packit 575503
Packit 575503
2016-12-06         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Add minimum required and maximum expected number of arguments
Packit 575503
	to the API.
Packit 575503
Packit 575503
	* filefuncs.c: Update with max expected value. Remove lint
Packit 575503
	checks since that's now done by gawk.
Packit 575503
	* fnmatch.c: Ditto.
Packit 575503
	* fork.c: Ditto.
Packit 575503
	* inplace.c: Ditto.
Packit 575503
	* ordchr.c: Ditto.
Packit 575503
	* readdir.c: Ditto.
Packit 575503
	* readfile.c: Ditto.
Packit 575503
	* rwarray.c: Ditto.
Packit 575503
	* rwarray0.c: Ditto.
Packit 575503
	* testext.c: Ditto.
Packit 575503
	* time.c: Ditto.
Packit 575503
Packit 575503
2016-12-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* rwarray.c: Adjust to read and write strnum values.
Packit 575503
	(write_value): When writing a string value, code should use htonl.
Packit 575503
	There are now 3 string types: string, strnum, and regex.
Packit 575503
	(read_value): Support 3 string types: string, strnum, and regex.
Packit 575503
Packit 575503
2016-11-30         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.c: Restore read comparion of major and minor versions
Packit 575503
	to use !=.
Packit 575503
Packit 575503
2016-11-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.c: Adjust to read and write regexes also.
Packit 575503
Packit 575503
2016-10-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* General: Remove trailing whitespace from all relevant files.
Packit 575503
Packit 575503
2016-08-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.1.4: Release tar ball made.
Packit 575503
Packit 575503
2016-07-01         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.c (do_inplace_begin): Flush stdout at the start to
Packit 575503
	try to avoid flushing problems on some obscure BSD systems.
Packit 575503
	* revtwoway.c (gawk_getdtablesize): Renamed from getdtablesize.
Packit 575503
	(getdtablesize): New macro. Avoids problems on FreeBSD 10
Packit 575503
	where configure didn't work correctly. Thanks to Nelson Beebe.
Packit 575503
	Update copyright year.
Packit 575503
Packit 575503
2016-05-26         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c (func_table): Update "stat" to indicate that the
Packit 575503
	max # of expected args is 3, not 2.
Packit 575503
Packit 575503
2016-01-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_statvfs): Define out f_fsid on AIX.
Packit 575503
Packit 575503
2016-01-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Add statvfs function. Undocumented for now.
Packit 575503
	* configure.ac: Add appropriate stuff to check for statvfs.
Packit 575503
	* configure, configh.in: Regenerated.
Packit 575503
Packit 575503
2015-12-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (EXTRA_DIST): Add ext_custom.h so that it will be
Packit 575503
	included in the distribution tarballs.
Packit 575503
Packit 575503
2015-12-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Make change of 2015-10-26 actually work.
Packit 575503
Packit 575503
	* ext_custom.h: New file. Move _DEFAULT_SOURCE dance to here.
Packit 575503
	* configure.ac: Add call to AH_BOTTOM.
Packit 575503
	* configure: Regenerate.
Packit 575503
Packit 575503
2015-11-15         Ville Skytta          <ville.skytta@iki.fi>
Packit 575503
Packit 575503
	* fnmatch.3am, fork.3am, inplace.3am, ordchr.3am, readdir.3am,
Packit 575503
	readfile.3am, revoutput.3am, revtwoway.3am, rwarray.3am,
Packit 575503
	time.3am: Fix troff markup to avoid warnings.
Packit 575503
Packit 575503
2015-10-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* config.h.in: Turn on _DEFAULT_SOURCE for very recent
Packit 575503
	GLIBC.  Thanks to Michal Jaegermann <michal.jnn@gmail.com>
Packit 575503
	for the report.
Packit 575503
Packit 575503
2015-08-28	Daniel Richard G.	<skunk@iSKUNK.ORG>
Packit 575503
Packit 575503
	* rwarray.c: Removed z/OS-specific code that is no longer needed due
Packit 575503
	to improvements in Gawk's general Autotools support.
Packit 575503
	* Makefile.am, configure.ac: Make use of the AC_ZOS_USS macro so
Packit 575503
	that this sub-project can support that platform as well.
Packit 575503
	* gawkfts.h, readdir.c: Use a proper platform cpp symbol to guard
Packit 575503
	z/OS-specific code, and eliminate the z/OS-specific use of "long"
Packit 575503
	inode numbers as "long long" works perfectly well there.
Packit 575503
Packit 575503
2015-08-02         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* revoutput.c (init_revoutput): Don't install REVOUT if it's
Packit 575503
	there already. Makes the extension usable with -v.
Packit 575503
	* revoutput.3am: Add a BUGS section.
Packit 575503
Packit 575503
2015-06-17         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* inplace.3am (BUGS): Document that ACLs are not preserved, and
Packit 575503
	a temporary file may be left behind if the program is killed by
Packit 575503
	a signal.
Packit 575503
Packit 575503
2015-06-17         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* inplace.3am: Document new inplace variable to control whether
Packit 575503
	inplace editing is active.
Packit 575503
Packit 575503
2015-05-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.1.3: Release tar ball made.
Packit 575503
Packit 575503
2015-04-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.1.2: Release tar ball made.
Packit 575503
Packit 575503
2015-04-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Updated by autoupdate.
Packit 575503
Packit 575503
2015-04-08         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am, filefuncs.c, inplace.3am, inplace.c:
Packit 575503
	Update copyright years.
Packit 575503
Packit 575503
2015-03-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c: Move test for deferred variables here.
Packit 575503
Packit 575503
2015-03-18         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure: Updated to libtool 2.4.6.
Packit 575503
Packit 575503
2015-03-18         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.3am (SYNOPSIS): Updated to not show the contents
Packit 575503
	of the extension.
Packit 575503
	(BUGS): Removed.
Packit 575503
Packit 575503
2015-03-17         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.c (do_inplace_begin): Jump through more hoops to satisfy
Packit 575503
	a newer version of clang.
Packit 575503
	* inplace.3am (BUGS): Add new section and documentation.
Packit 575503
Packit 575503
2015-02-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (EXTRA_DIST): Add rwarray0.c to the list.
Packit 575503
Packit 575503
2015-02-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Punctuation fix.
Packit 575503
Packit 575503
2015-01-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Infrastructure updates.
Packit 575503
Packit 575503
	Automake 1.15. Libtool 2.4.5.
Packit 575503
Packit 575503
	* configure.ac: Remove gettext macros.
Packit 575503
Packit 575503
2015-01-07         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (var_test): Adjust for PROCINFO now being there.
Packit 575503
Packit 575503
2015-01-06         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* testext.c (test_deferred): New function to help with testing
Packit 575503
	of deferred variable instantiation.
Packit 575503
	(do_get_file): Remove unused variable array.
Packit 575503
	(func_table): Add test_deferred.
Packit 575503
Packit 575503
2015-01-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* testext.c (test_get_file): Fix error message.
Packit 575503
	(do_get_file): Implement new function providing low-level access
Packit 575503
	to the get_file API.
Packit 575503
	(func_table): Add "get_file" -> do_get_file.
Packit 575503
	(init_testext): If TESTEXT_QUIET has been set to a numeric value,
Packit 575503
	return quietly.
Packit 575503
Packit 575503
2015-01-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* testext.c (test_get_file): The get_file hook no longer takes a
Packit 575503
	typelen argument.
Packit 575503
Packit 575503
2015-01-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	Remove the select extension, since it will be part of gawkextlib.
Packit 575503
	* select.c, siglist.h: Deleted.
Packit 575503
	* Makefile.am (pkgextension_LTLIBRARIES): Remove select.la.
Packit 575503
	(select_la_SOURCES, select_la_LDFLAGS, select_la_LIBADD): Remove.
Packit 575503
	(EXTRA_DIST): Remove siglist.h.
Packit 575503
	* configure.ac (AC_CHECK_HEADERS): Remove signal.h.
Packit 575503
	(AC_CHECK_FUNCS): Remove fcntl, kill, sigaction, and sigprocmask.
Packit 575503
Packit 575503
2014-12-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	Remove the errno extension, since it is now part of gawkextlib.
Packit 575503
	* errno.c, errlist.h: Deleted.
Packit 575503
	* Makefile.am (pkgextension_LTLIBRARIES): Remove errno.la.
Packit 575503
	(errno_la_SOURCES, errno_la_LDFLAGS, errno_la_LIBADD): Remove.
Packit 575503
	(EXTRA_DIST): Remove errlist.h.
Packit 575503
Packit 575503
2014-12-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readfile.c (read_file_to_buffer): Do not waste a byte at the end of
Packit 575503
	a string.
Packit 575503
	* rwarray.c (read_value): Ditto.
Packit 575503
	* rwarray0.c (read_value): Ditto.
Packit 575503
Packit 575503
2014-11-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.c (do_inplace_begin): Jump through hoops to silence
Packit 575503
	GCC warnings about return value of chown.
Packit 575503
Packit 575503
2014-11-09         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (do_input_fd): New function to return the input file
Packit 575503
	descriptor associated with a file/command.
Packit 575503
	(do_output_fd): New function to return the output file descriptor
Packit 575503
	associated with a file/command.
Packit 575503
	(func_table): Add new functions "input_fd" and "output_fd".
Packit 575503
	* testext.c (test_get_file): Do not use __func__, since it is a C99
Packit 575503
	feature, and gawk does not assume C99.
Packit 575503
Packit 575503
2014-11-06         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* errno.c (do_errno2name, do_name2errno): Remove unused variable 'str'.
Packit 575503
	* select.c (do_signal): Remove unused variable 'override'.
Packit 575503
	(grabfd): New helper function to map a gawk file to the appropriate
Packit 575503
	fd for use in the arguments to selectd.
Packit 575503
	(do_select): get_file has 3 new arguments and returns info about both
Packit 575503
	the input and output buf.
Packit 575503
	(do_set_non_blocking): Support changes to get_file API.
Packit 575503
	* testext.c (test_get_file): New test function to check that extension
Packit 575503
	file creation via the get_file API is working.
Packit 575503
Packit 575503
2014-11-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (set_retry): New function to set PROCINFO[<name>, "RETRY"].
Packit 575503
	(do_set_non_blocking): If called with a file name as opposed to a file
Packit 575503
	descriptor, call the set_retry function to configure PROCINFO to tell
Packit 575503
	io.c to retry I/O for temporary failures.
Packit 575503
Packit 575503
2014-10-12         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (uninstall-so): Remove *.lib too, per suggestion
Packit 575503
	from Andreas Buening.
Packit 575503
Packit 575503
2014-10-12         KO Myung-Hun          <komh78@gmail.com>
Packit 575503
Packit 575503
	Fixes for OS/2:
Packit 575503
Packit 575503
	* Makefile.am (uninstall-so): Remove *.dll and *.a, also.
Packit 575503
Packit 575503
2014-10-08         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.c (do_inplace_begin): Use a cast to void in front
Packit 575503
	of the second call to chown to avoid compiler warnings from clang.
Packit 575503
Packit 575503
2014-09-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Minor edits to sync with documentation.
Packit 575503
	* testext.c: Add test to get PROCINFO, expected to fail.
Packit 575503
Packit 575503
2014-08-12         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (RM): Define for makes that don't have it,
Packit 575503
	such as on OpenBSD.  Thanks to Jeremie Courreges-Anglas
Packit 575503
	<jca@wxcvbn.org> for the report.
Packit 575503
Packit 575503
2014-06-13         Paul Gortmaker        <paul.gortmaker@windriver.com>
Packit 575503
Packit 575503
	* Makefile.am (uninstall-so): Came across below bug while cross
Packit 575503
	compiling, and changed both install-data-hook and uninstall-so
Packit 575503
	to use $(DESTDIR) on v4.1.1 before seeing most of the fix in
Packit 575503
	gawk-4.1.1-3-g976f73ab0356; here we ensure uninstall-so also
Packit 575503
	uses the $(DESTDIR) prefix on its use of pkgextensiondir.
Packit 575503
Packit 575503
2014-04-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (install-data-hook): Use $(DESTDIR) when removing
Packit 575503
	the .la files. Thanks to Lars Wendler <polynomial-c@gentoo.org>
Packit 575503
	for the report and fix.
Packit 575503
Packit 575503
2014-04-08         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.1.1: Release tar ball made.
Packit 575503
Packit 575503
2014-04-08         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Bump version before release.
Packit 575503
Packit 575503
2014-04-04         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* time.c: Include <time.h> unconditionally to get declaration
Packit 575503
	of nanosleep on Linux. Avoids a warning. Thanks to Michal
Packit 575503
	Jaegermann.
Packit 575503
Packit 575503
2014-03-31         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Remove -Wextra to avoid killing compilations
Packit 575503
	on older versions of gcc. Thanks to Antonio Diaz Diaz for
Packit 575503
	the report.
Packit 575503
Packit 575503
2014-03-28         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add AC_HEADER_TIME and AC_HEADER_DIRENT, and
Packit 575503
	rearrange order of macros some. May help on older systems.
Packit 575503
Packit 575503
2014-03-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readfile.c: Add an input parser that works off of
Packit 575503
	PROCINFO["readfile"].
Packit 575503
	* readfile.3am: Document same.
Packit 575503
Packit 575503
2014-03-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkfts.c (MAXPATHLEN): Add a default definition. Thanks to
Packit 575503
	Antonio Diaz Dian and Nelson H.F. Beebe.
Packit 575503
	* readdir.c (PATH_MAX): Add a default definition. Thanks to
Packit 575503
	Nelson H.F. Beebe.
Packit 575503
Packit 575503
2014-03-08         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c (read_symlink, do_fts): Replace free with gawk_free.
Packit 575503
	* inplace.c (at_exit, do_inplace_end): Ditto.
Packit 575503
	* readdir.c (dir_close): Ditto.
Packit 575503
	* readfile.c (do_readfile): Ditto.
Packit 575503
	* revtwoway.c (close_two_proc_data): Ditto.
Packit 575503
	* rwarray.c (read_elem): Replace realloc with gawk_realloc.
Packit 575503
	(read_value): Replace malloc and free with gawk_malloc and gawk_free.
Packit 575503
	* testext.c (try_modify_environ): Replace free with gawk_free.
Packit 575503
Packit 575503
2014-02-12         John E. Malmberg      <wb8tyw@qsl.net>
Packit 575503
Packit 575503
	* time.c: Better hack for nanosleep bug based on feedback from HP.
Packit 575503
Packit 575503
2013-12-29         John E. Malmberg      <wb8tyw@qsl.net>
Packit 575503
Packit 575503
	* filefuncs.c: Fix compile on VMS.
Packit 575503
	* time.c: Fix compile on VMS.
Packit 575503
Packit 575503
2013-12-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkfts.c: Wrap include of <sys/param.h> in HAVE_SYS_PARAM_H,
Packit 575503
	as I should have done to start with.  For VMS.
Packit 575503
Packit 575503
2013-12-29         John E. Malmberg      <wb8tyw@qsl.net>
Packit 575503
Packit 575503
	* gawkdirfd.h: Adjust include for VMS.
Packit 575503
	* filefuncs.c: Make it compile on VMS.
Packit 575503
	* fnmatch.c: Make it compile on VMS.
Packit 575503
Packit 575503
2013-12-21         Mike Frysinger        <vapier@gentoo.org>
Packit 575503
Packit 575503
	* configure.ac: Remove MirBSD and OS/390 hack to create
Packit 575503
	do-nothing Makefile. Should be handled by configure in the
Packit 575503
	parent directory.
Packit 575503
Packit 575503
2013-12-21         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure, aclocal.m4: Updated to automake 1.13.4 and
Packit 575503
	libtool 2.4.2.418.
Packit 575503
Packit 575503
2013-11-28         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (uninstall-so, uninstall-recursive): Remove the
Packit 575503
	.so files. Keeps make distcheck happy.
Packit 575503
Packit 575503
2013-11-17  Dmitry V. Levin  <ldv@altlinux.org>
Packit 575503
Packit 575503
	* Makefile.am (dist_man_MANS): Add inplace.3am.
Packit 575503
Packit 575503
2013-10-23  Michael Haubenwallner <michael.haubenwallner@salomon.at>
Packit 575503
Packit 575503
	Fix portability for AIX.
Packit 575503
Packit 575503
	* inplace.c (_XOPEN_SOURCE): Define when not defined yet.
Packit 575503
	(_XOPEN_SOURCE_EXTENDED): Ditto. Needs to define a number.
Packit 575503
Packit 575503
2013-08-22         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Clean up some warnings from -Wextra.
Packit 575503
Packit 575503
	* gawkfts.c (fts_set): Add cast to void for sp.
Packit 575503
	* inplace.c (at_exit): Add cast to void for data and exit_status.
Packit 575503
	* readdir.c (ftype): Add cast to void for dirname.
Packit 575503
	(dir_get_record): Assign NULL to *rt_start.
Packit 575503
	* revtwoway.c (rev2way_get_record): Add cast to void for errcode.
Packit 575503
	(rev2way_fwrite): Add cast to void for fp.
Packit 575503
	(rev2way_take_control_of): Add cast to void for name.
Packit 575503
	* testext.c (test_array_param, test_scalar, test_scalar_reserved,
Packit 575503
	test_indirect_vars): Add cast to void for nargs.
Packit 575503
Packit 575503
2013-08-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkdirfd.h: Include ../nonposix.h to get FAKE_FD_VALUE.
Packit 575503
Packit 575503
2013-08-06         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Change _WIN32 to __MINGW32__ globally, per
Packit 575503
	Eli Zaretskii.
Packit 575503
Packit 575503
2013-08-02         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_fts): Add a version for _WIN32 that prints a
Packit 575503
	"not supported" fatal message.  This is slightly better than the
Packit 575503
	"fts not found" which is otherwise produced.
Packit 575503
Packit 575503
2013-07-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkdirfd.h (FAKE_FD_VALUE): Move definition up in the file to give
Packit 575503
	clean compile on MinGW.
Packit 575503
Packit 575503
2013-07-07         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* configure.ac (AC_CHECK_FUNCS): Check for fcntl.
Packit 575503
	* select.c (set_non_blocking): Check that fcntl and O_NONBLOCK are
Packit 575503
	available.
Packit 575503
Packit 575503
2013-07-07         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (signal_handler): On platforms lacking sigaction, reset
Packit 575503
	the signal handler each time a signal is trapped to protect in case
Packit 575503
	the system resets it to default.
Packit 575503
Packit 575503
2013-07-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (signal_result): New function to set result string from
Packit 575503
	signal function and detect when we need to roll back.
Packit 575503
	(do_signal): Now takes an optional 3rd override argument.  Instead
Packit 575503
	of returning -1 or 0, we now return information about the previously
Packit 575503
	installed signal handler: default, ignore, trap, or unknown.  An
Packit 575503
	empty string is returned on error.  If it is an unknown handler,
Packit 575503
	and override is not non-zero, we roll back the handler and return "".
Packit 575503
Packit 575503
2013-07-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (set_non_blocking): Do not attempt F_SETFL if F_GETFL fails.
Packit 575503
	(do_set_non_blocking): Add support for case when called with a single
Packit 575503
	"" argument.
Packit 575503
Packit 575503
2013-07-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (do_signal): If sigaction is unavailable, fall back to
Packit 575503
	signal and hope that it does the right thing.
Packit 575503
Packit 575503
2013-07-05         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* configure.ac (AC_CHECK_FUNCS): Add kill and sigprocmask.
Packit 575503
	* select.c (get_signal_number): Change error messages since now may
Packit 575503
	be called by "kill" as well as "select_signal".
Packit 575503
	(do_signal): Add a lint warning if there are more than 2 args.
Packit 575503
	(do_kill): Add new function to send a signal.
Packit 575503
	(do_select): Support platforms where sigprocmask is not available.
Packit 575503
	There will be a race condition on such platforms, but that is not
Packit 575503
	easily avoided.
Packit 575503
Packit 575503
2013-07-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (do_select): Now that the API flatten_array call has been
Packit 575503
	patched to ensure that the index values are strings, we can remove
Packit 575503
	the code to check for the AWK_NUMBER case.
Packit 575503
Packit 575503
2013-07-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (do_select): Do not treat a numeric command value as a
Packit 575503
	file descriptor unless the command type is empty.
Packit 575503
Packit 575503
2013-07-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (EXTRA_DIST): Add errlist.h and siglist.h.
Packit 575503
Packit 575503
2013-07-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (set_non_blocking): New helper function to call fcntl.
Packit 575503
	(do_set_non_blocking): Add support for the case where there's a single
Packit 575503
	integer fd argument.
Packit 575503
Packit 575503
2013-07-01         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* select.c (do_set_non_blocking): Implement new set_non_blocking
Packit 575503
	function.
Packit 575503
	(func_table): Add set_non_blocking.
Packit 575503
Packit 575503
2013-07-01         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* errlist.h: New file containing a list of all the errno values I could
Packit 575503
	find.
Packit 575503
	* errno.c: Implement a new errno extension providing strerror,
Packit 575503
	errno2name, and name2errno.
Packit 575503
	* Makefile.am (pkgextension_LTLIBRARIES): Add errno.la.
Packit 575503
	(errno_la_SOURCES, errno_la_LDFLAGS, errno_la_LIBADD): Build new errno
Packit 575503
	extension.
Packit 575503
	* select.c (ext_version): Fix version string.
Packit 575503
	* siglist.h: Update to newest glibc version.
Packit 575503
Packit 575503
2013-07-01         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* siglist.h: New file copied from glibc to provide a mapping between
Packit 575503
	signal number and name.
Packit 575503
	* select.c: Add a new "select_signal" function and provide support
Packit 575503
	for trapping signals.
Packit 575503
	(do_select): Add support for a 5th argument to contain an array
Packit 575503
	of returned signals.  Improve the argument processing, and add
Packit 575503
	better warning messages.
Packit 575503
Packit 575503
2013-06-30         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (pkgextension_LTLIBRARIES): Add select.la.
Packit 575503
	(select_la_SOURCES, select_la_LDFLAGS, select_la_LIBADD): Build new
Packit 575503
	select extension.
Packit 575503
	* configure.ac (AC_CHECK_HEADERS): Add signal.h.
Packit 575503
	(AC_CHECK_FUNCS): Add sigaction.
Packit 575503
	* select.c: Implement the new select extension.
Packit 575503
Packit 575503
2013-06-10         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac (AC_HEADER_MAJOR): New macro added.
Packit 575503
	Add check for limits.h header.
Packit 575503
	* filefuncs.c: Add the right stuff to get the major/minor macros.
Packit 575503
	* readdir.c: Add include of limits.h appropriately wrapped.
Packit 575503
Packit 575503
	Thanks to ICHII Takashi <ichii386@schweetheart.jp> for the reports
Packit 575503
	and pointers.
Packit 575503
Packit 575503
2013-06-01  Eli Zaretskii  <eliz@gnu.org>
Packit 575503
Packit 575503
	* filefuncs.c [_WIN32]: Define WIN32_LEAN_AND_MEAN before
Packit 575503
	including windows.h.
Packit 575503
Packit 575503
	* readdir.c [__MINGW32__]: Define WIN32_LEAN_AND_MEAN before
Packit 575503
	including windows.h.
Packit 575503
Packit 575503
	* filefuncs.c [HAVE_GETSYSTEMTIMEASFILETIME]: Define
Packit 575503
	WIN32_LEAN_AND_MEAN before including windows.h.
Packit 575503
Packit 575503
2013-05-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add <sys/param.h> header check.
Packit 575503
	* filefuncs.c: Include <sys/param.h> if there.
Packit 575503
	(device_blocksize): New function.
Packit 575503
	(fill_stat_array): Call it.
Packit 575503
Packit 575503
2013-05-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac (AC_STRUCT_ST_BLKSIZE): Replaced with call to
Packit 575503
	AC_CHECK_MEMBERS.
Packit 575503
	* filefuncs.c (fill_stat_array): Change test from ifdef
Packit 575503
	HAVE_ST_BLKSIZE to HAVE_STRUCT_STAT_ST_BLKSIZE.
Packit 575503
Packit 575503
2013-05-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkdirfd.h [FAKE_FD_VALUE]: Copied here from ../gawkapi.h.
Packit 575503
Packit 575503
2013-05-16         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (install-data-hook): Remove .la files installed by
Packit 575503
	Automake.  Leaves less clutter, if not (yet) less noise.
Packit 575503
Packit 575503
2013-05-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (fill_stat_array): For _WIN32 use a blocksize of
Packit 575503
	4096 for the "blksize" element, per Eli Zaretskii.
Packit 575503
Packit 575503
	* configure.ac [AC_STRUCT_ST_BLKSIZE]: Add call that was missing.
Packit 575503
	ARGH!!!!
Packit 575503
Packit 575503
2013-05-14  Eli Zaretskii  <eliz@gnu.org>
Packit 575503
Packit 575503
	* rwarray.c [__MINGW32__]: Include winsock2.h instead of
Packit 575503
	arpa/inet.h.
Packit 575503
Packit 575503
	* readdir.c [__MINGW32__]: Include windows.h.
Packit 575503
	Include gawkapi.h before gawkdirfd.h, since the former defines
Packit 575503
	FAKE_FD_VALUE needed by the latter.
Packit 575503
	(ftype): Accept an additional argument, the directory that is
Packit 575503
	being read.  Callers changed.
Packit 575503
	[!DT_BLK]: Produce the file's type by calling 'stat' on it, if the
Packit 575503
	dirent structure doesn't provide that.
Packit 575503
	(get_inode): New function, to produce inode values on MS-Windows.
Packit 575503
	(dir_get_record): Use it.
Packit 575503
Packit 575503
	* inplace.c (chown, link) [__MINGW32__]: Redirect to existing
Packit 575503
	library functions.
Packit 575503
	(mkstemp) [__MINGW32__]: New function, for MinGW, which doesn't
Packit 575503
	have it in its library.
Packit 575503
	(do_inplace_end) [__MINGW32__]: Remove the old file before
Packit 575503
	renaming the new, since 'rename' on Windows cannot overwrite
Packit 575503
	existing files.
Packit 575503
Packit 575503
	* gawkdirfd.h (ENOTSUP): Define to ENOSYS if not already defined.
Packit 575503
	(DIR_TO_FD): If not defined yet, define to FAKE_FD_VALUE.
Packit 575503
Packit 575503
	* filefuncs.c (get_inode) [_WIN32]: New function, produces the
Packit 575503
	file index used on Windows as its inode.
Packit 575503
	(fill_stat_array) [_WIN32]: Use it.
Packit 575503
Packit 575503
2013-05-09         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.1.0: Release tar ball made.
Packit 575503
Packit 575503
2013-04-18         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Update copyright.
Packit 575503
	For z/OS: If uname output is OS/390, just blast the Makefile,
Packit 575503
	same as for MirBSD.
Packit 575503
Packit 575503
2013-04-17         Corinna Vinschen      <vinschen@redhat.com>
Packit 575503
Packit 575503
	* Makefile.am (MY_LIBS): Use $(LTLIBINTL) since we use libtool,
Packit 575503
	not LIBINTL.
Packit 575503
Packit 575503
2013-04-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readdir.c, readfile.c,
Packit 575503
	revoutput.c, revtwoway.c, rwarray.c, rwarray0.c, stack.c, stack.h,
Packit 575503
	testext.c, time.c: Update copyright year.
Packit 575503
Packit 575503
	Update to automake 1.13.1:
Packit 575503
Packit 575503
	* configure, Makefile.in, aclocal.m4: Regenerated.
Packit 575503
Packit 575503
2013-03-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkdirfd.h: Improve test for doing own dirfd function. Needed
Packit 575503
	for IRIX.
Packit 575503
Packit 575503
2013-03-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add AC_OUTPUT_COMMANDS that drops in a do-nothing
Packit 575503
	Makefile for MirBSD, since the extensions can't be built on MirBSD.
Packit 575503
	* configure: Regenerated.
Packit 575503
	* Makefile.am (check-for-shared-lib-support): Update comment some.
Packit 575503
	* gawkfts.c (MAX): Provide for systems that don't (Solaris).
Packit 575503
Packit 575503
2013-03-04         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (fill_stat_array): Adjust computation for block
Packit 575503
	count for WIN32 systems after consultation with Eli Zaretskii.
Packit 575503
Packit 575503
2013-02-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (check-recursive, all-recursive): Make dependant upon
Packit 575503
	check-for-shared-lib-support.
Packit 575503
	(check-for-shared-lib-support): New target. If gawk doesn't have the
Packit 575503
	API built-in, don't try to build.
Packit 575503
Packit 575503
2013-02-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* fnmatch.c: Pull in versions of C routine from missing_d
Packit 575503
	if the native system doesn't provide them.
Packit 575503
Packit 575503
2013-02-11         Eli Zaretskii	<eliz@gnu.org>
Packit 575503
Packit 575503
	* filefuncs.c (S_ISLNK, lstat, readlink, S_IRGRP, S_IWGRP, S_IXGRP,
Packit 575503
	S_IROTH, S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, major, minor):
Packit 575503
	Define if needed.
Packit 575503
	(fill_stat_array, init_filefuncs, func_table): Fix for Win 32.
Packit 575503
	* time.c: Port to Win 32.
Packit 575503
Packit 575503
2013-01-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkdirfd.h: New file.
Packit 575503
	* Makeile.am (filefuncs_la_SOURCES, readdir_la_SOURCES): Use it.
Packit 575503
	* gawkfts.c, readdir.c: Include gawkdirfd.h.
Packit 575503
	* configure.ac (AC_USE_SYSTEM_EXTENSIONS): Added.
Packit 575503
	(GAWK_FUNC_DIRFD, GAWK_PREREQ_DIRFD): New calls.
Packit 575503
	(.developing): Fix check.
Packit 575503
	* alocal.m4: Updated.
Packit 575503
	* configure: Regenerated.
Packit 575503
	* gawkdirfd.h: Fixed for Mac OS X also.
Packit 575503
Packit 575503
2013-01-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* gawkfts.c: Make include of <limits.h> be unconditional.
Packit 575503
Packit 575503
2013-01-22         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Improve portability. We hope.
Packit 575503
Packit 575503
	* gawkfts.c (S_ISREG): Define macro if not defined.
Packit 575503
	(_BSD_SOURCE): Define for use with c99 compiler driver.
Packit 575503
	* inplace.c (S_ISREG): Define macro if not defined.
Packit 575503
	(_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED): Define for use with c99
Packit 575503
	compiler driver.
Packit 575503
	* filefuncs.c (_BSD_SOURCE): Define for use with c99 compiler driver.
Packit 575503
	* readfile.c (_BSD_SOURCE): Define for use with c99 compiler driver.
Packit 575503
	* revtwoway.c (_BSD_SOURCE): Define for use with c99 compiler driver.
Packit 575503
Packit 575503
2013-01-18         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readfile.c (do_readfile): Free `text' if read fails. Thanks to
Packit 575503
	cppcheck.
Packit 575503
	* inplace.c (do_inplace_begin): Check chown return value in an if
Packit 575503
	to shut up compiler warning.
Packit 575503
Packit 575503
2013-01-15         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* inplace.3am: New file.
Packit 575503
	* filefuncs.3am, fnmatch.3am, fork.3am, ordchr.3am, readdir.3am,
Packit 575503
	readfile.3am, revoutput.3am, revtwoway.3am, rwarray.3am,
Packit 575503
	time.3am: Update copyright dates, add reference to inplace(3am).
Packit 575503
Packit 575503
	* inplace.c (do_inplace_begin): Remove unused variable `p'.
Packit 575503
Packit 575503
2013-01-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* inplace.c (do_inplace_begin): No need to get the 2nd suffix argument,
Packit 575503
	since it is not currently used in this function.
Packit 575503
Packit 575503
2013-01-08         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* inplace.c: New extension to implement in-place editing.
Packit 575503
	* Makefile.am: Add inplace extension.
Packit 575503
Packit 575503
2012-12-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.3am, fnmatch.3am: Predefined variables are no
Packit 575503
	longer constants.
Packit 575503
	* filefuncs.c (init_filefuncs): Use sym_update() instead of
Packit 575503
	sym_constant().
Packit 575503
	* fnmatch.c (init_fnmatch): Ditto.
Packit 575503
	* testext.c (init_testext): Ditto.
Packit 575503
Packit 575503
2012-12-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.0.2: Release tar ball made.
Packit 575503
Packit 575503
2012-12-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (test_indirect_vars): New test and awk code.
Packit 575503
Packit 575503
2012-12-02         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (EXTRA_DIST): Add README.fts.
Packit 575503
Packit 575503
2012-11-30         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c readdir.c, revoutput.c, revtwoway.c, rwarray.c,
Packit 575503
	rwarray0.c, testext.c: Use awk_true and awk_false instead of 1 and 0.
Packit 575503
Packit 575503
2012-11-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* bindarr.c, fileop.c, sparr.c: Make them compile.
Packit 575503
	* steps: Reinstated and updated.
Packit 575503
	* testsparr.awk: Add call to extension().
Packit 575503
Packit 575503
2011-05-03         John Haque     <j.eh@mchsi.com>
Packit 575503
Packit 575503
	* fileop.c, record.awk, testrecord.sh: New files.
Packit 575503
	* steps: Updated.
Packit 575503
Packit 575503
2011-05-02         John Haque     <j.eh@mchsi.com>
Packit 575503
Packit 575503
	* bindarr.c, dbarray.awk, testdbarray.awk: New files.
Packit 575503
	* steps: Updated.
Packit 575503
Packit 575503
2011-04-24         John Haque     <j.eh@mchsi.com>
Packit 575503
Packit 575503
	* spec_array.c, spec_array.h, sparr.c, testsparr.awk: New files.
Packit 575503
	* steps: Updated.
Packit 575503
Packit 575503
2012-11-21         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_stat): Optional third argument indicates to
Packit 575503
	use stat(2) instead of lstat(2).
Packit 575503
	* filefuncs.3am: Document same.
Packit 575503
Packit 575503
2012-11-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c: Simplify code to always print file type and not
Packit 575503
	use stat().
Packit 575503
	* readdir.3am: Document same.
Packit 575503
Packit 575503
2012-11-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c: In awk code, use printf(...) instead of the form
Packit 575503
	without parentheses everywhere. This makes Nelson happy.
Packit 575503
Packit 575503
2012-11-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	Bug fix for filesystems without d_type in directory entry.
Packit 575503
Packit 575503
	* readdir.c (open_directory_t): Add more fields for path.
Packit 575503
	(ftype): Take open_directory_t argument. Build the full path
Packit 575503
	for lstat. Adjust calls.
Packit 575503
	(dir_close): Free the storage.
Packit 575503
	(dir_take_control_of): Allocate storage for the path.
Packit 575503
Packit 575503
2012-11-06         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Add check for $srcdir/.developing as in
Packit 575503
	the main directory's configure.ac.
Packit 575503
Packit 575503
2012-11-04         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray.3am: Minor edits.
Packit 575503
Packit 575503
2012-10-28         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (dist_man_MANS): Update the list.
Packit 575503
Packit 575503
2012-10-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* revtwoway.3am: Clean up example.
Packit 575503
	* revtwoway.c: Minor cleanup (add translation calls).
Packit 575503
Packit 575503
2012-10-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* revtwoway.3am: New file.
Packit 575503
Packit 575503
2012-10-21         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_stat): Always clear the array.
Packit 575503
Packit 575503
2012-10-14         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c, revoutput.c, revtwoway.c: Adjust for name change
Packit 575503
	of IOBUF_PUBLIC to awk_input_buf_t. Additional sanitizing in
Packit 575503
	revoutput.c to use `revoutput' everywhere instead of `revout'.
Packit 575503
	* revoutput.3am: New file.
Packit 575503
	* filefuncs.3am, fnmatch.3am, fork.3am, ordchr.3am, readdir.3am,
Packit 575503
	readfile.3am, rwarray.3am, time.3am: Add ref to revoutput(3am).
Packit 575503
Packit 575503
2012-10-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* textext.c (try_modify_environ): Save array cookie in a separate
Packit 575503
	variable so it isn't clobbered. Thanks to Andrew Schorr, by way
Packit 575503
	of valgrind, for finding the bug.
Packit 575503
Packit 575503
2012-09-14         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (try_modify_environ): New function and test.
Packit 575503
	(var_test): Modified ARGC test, added additional.
Packit 575503
	(test_scalar_reserved): New function and test.
Packit 575503
	(try_modify_environ): Don't print count of ENVIRON elements.
Packit 575503
Packit 575503
2012-09-13         Dave Pitts            <dpitts@cozx.com>
Packit 575503
Packit 575503
	* gawkfts.c: Add defines and ifdefs for z/OS.
Packit 575503
	* gawkfts.h: Add defines and ifdefs for z/OS. Fix // comments.
Packit 575503
	* readdir.c (dir_get_record): Adjust sprintf format for z/OS.
Packit 575503
	* rwarray.c: Add defines and ifdefs for z/OS. Fix // comments.
Packit 575503
Packit 575503
2012-09-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c (do_readdir_do_ftype): Set ERRNO for bad arguments.
Packit 575503
	* readdir.3a: Document same, minor fixes.
Packit 575503
Packit 575503
2012-09-07         Akim Demaille         <akim@lrde.epita.fr>
Packit 575503
Packit 575503
	* extension/gawkfts.h (__THROW): Define if it is not.
Packit 575503
	Copied from getopt.h.
Packit 575503
	* extension/gawkfts.c (fts_alloc): Since FTSENT.fts_statp is
Packit 575503
	defined as a struct stat*, use that type for casts instead of
Packit 575503
	the undefined __fts_stat_t type.
Packit 575503
Packit 575503
2012-09-07         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c, readdir.3am: Change argument to readdir_do_ftype()
Packit 575503
	to be a string. Update the doc accordingly.
Packit 575503
	* gawkfts.h: Add explanatory comment before defines of API
Packit 575503
	names towards the end. Thanks to Eli Zaretskii for the suggestion.
Packit 575503
Packit 575503
2012-08-28         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir.c: Have three states, 0, 1, 2 for never, fallback, and
Packit 575503
	always.
Packit 575503
	* readdir.3am: Adjust appropriately.
Packit 575503
Packit 575503
2012-08-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Make fts work everywhere by using our own source.
Packit 575503
Packit 575503
	* README.fts, gawkfts.c, gawkfts.h, fts.3: New files.
Packit 575503
	* Makefile.am (filefuncs_la_SOURCES, EXTRA_DIST): Adjust.
Packit 575503
	* configure.ac: Remove check for fts.h and fts_XXX functions.
Packit 575503
	* filefuncs.c: Remove various ifdefs, change includes around.
Packit 575503
Packit 575503
2012-08-28         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am: Rename man_MANS to dist_man_MANS to include the man
Packit 575503
	pages in the distribution tarball.
Packit 575503
Packit 575503
2012-08-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac (AC_SYS_LARGEFILE): Added. Needed for consistency
Packit 575503
	with gawk, to get the same size struct stat everywhere.
Packit 575503
	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readdir.c, readfile.c,
Packit 575503
	revoutput.c, revtwoway.c, rwarray.c, rwarray0.c, testext.c,
Packit 575503
	time.c: Move include of config.h to top (or add it!)
Packit 575503
Packit 575503
2012-08-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readdir.c, readfile.c,
Packit 575503
	revoutput.c, revtwoway.c, rwarray.c, rwarray0.c, testext.c,
Packit 575503
	time.c: Add ext_version string.
Packit 575503
Packit 575503
2012-08-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* revoutwoway.c: New testing extension for two way processor.
Packit 575503
	* Makefile.am: Build revtwoway extension.
Packit 575503
	* readdir.c: Fix to fall back to stat if d_type is 'u' and
Packit 575503
	do_ftype is one.
Packit 575503
	* readdir.3am: Revise doc that some GNU/Linux filesystems
Packit 575503
	don't support d_type.
Packit 575503
Packit 575503
2012-08-22         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* revoutput.c: New testing extension for output wrapper.
Packit 575503
	* Makefile.am: Build revoutput extension.
Packit 575503
Packit 575503
2012-08-08         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Add fts() to filefuncs.
Packit 575503
Packit 575503
	* filefuncs.3am: Update doc.
Packit 575503
	* filefuncs.c: Lots of new code.
Packit 575503
	* configure.ac: Add checks for appropriate headers and functions.
Packit 575503
	* stack.h, stack.c: New files.
Packit 575503
	* Makefile.am: Update list of files.
Packit 575503
Packit 575503
	* readdir.c (dir_can_take_file): Use members in iobuf.
Packit 575503
	* rwarray.c (do_writea): Initialize fp to NULL.
Packit 575503
Packit 575503
	* filefuncs.3am, fnmatch.3am, fork.3am, ordchr.3am, readdir.3am,
Packit 575503
	readfile.3am, rwarray.3am, time.3am: Updated.
Packit 575503
Packit 575503
2012-08-03         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): Fix for systems where ino_t is
Packit 575503
	64 bit even on 32 bit systems (cygwin).
Packit 575503
Packit 575503
2012-08-01         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (man_MANS): Add man page files so that they
Packit 575503
	get installed.
Packit 575503
	* rwarray.3am: New file.
Packit 575503
	* fnmatch.3am, fork.3am, time.3am: Revised.
Packit 575503
Packit 575503
2012-07-31         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* rwarray0.c: Renamed from rwarray.c.
Packit 575503
	* rwarray.c: New file using stdio instead of system calls,
Packit 575503
	works on cygwin.
Packit 575503
Packit 575503
2012-07-30         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* ABOUT-NLS: New file.
Packit 575503
	* Makefile.am, configure.ac: Revised for gettext.
Packit 575503
Packit 575503
	* fork.3am, readdir.3am, time.3am: New files.
Packit 575503
	* filefuncs.3am, fnmatch.3am, ordchr.3am, readfile.3am: Revised.
Packit 575503
Packit 575503
2012-07-29         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): Adjust to new interface for RT.
Packit 575503
Packit 575503
2012-07-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c (dir_take_control_of): Print error message and
Packit 575503
	set ERRNO if failure. Adjust count of max digits.
Packit 575503
Packit 575503
2012-07-27         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (*_la_LIBADD): Need to link with $(LIBINTL) for
Packit 575503
	gettext to work on platforms where it is not included in libc.
Packit 575503
Packit 575503
2012-07-27         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): Need to set errno to 0 before calling
Packit 575503
	readdir, since readdir sets errno only on failure, not on EOF.
Packit 575503
Packit 575503
2012-07-27         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): If readdir fails, set errcode.  Otherwise,
Packit 575503
	don't bother to set errcode.
Packit 575503
Packit 575503
2012-07-27         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c (dir_take_control_of): Fix typo for case where
Packit 575503
	we don't have fopendir (e.g., Mac OS X 10.5).
Packit 575503
Packit 575503
2012-07-26         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* configure.ac: Extremely crude hack to get the value of
Packit 575503
	ENABLE_NLS so that gettext will work in extensions.
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): Call set_RT.
Packit 575503
	(dir_can_take_file): Make parameter const.
Packit 575503
Packit 575503
	* testext.c (valrep2str): Add AWK_VALUE_COOKIE.
Packit 575503
Packit 575503
	* readdir.c: Add readdir_do_ftype function for systems without
Packit 575503
	dirent->d_type.  Clean up buffer handling.
Packit 575503
Packit 575503
2012-07-26         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* readdir.c (dir_get_record): No need to set *errcode to 0.
Packit 575503
	(dir_take_control_of): Remove some paranoia -- no need to test for
Packit 575503
	NULL iobuf, and no need to check dir_can_take_file again.
Packit 575503
Packit 575503
2012-07-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* readdir.c: New file.
Packit 575503
	* Makefile.am (readdir): New extension.
Packit 575503
Packit 575503
	* time.c: Fix all calls to update_ERRNO_string.
Packit 575503
Packit 575503
	* filefuncs.c, fnmatch.c, fork.c, ordchr.c, readfile.c, rwarray.c,
Packit 575503
	time.c: Translate strings.
Packit 575503
Packit 575503
2012-07-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.3am, fnmatch.3am, ordchr.3am, readfile.3am:
Packit 575503
	new files.
Packit 575503
Packit 575503
2012-07-16         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* fnmatch.c: Simplify flag table.
Packit 575503
Packit 575503
2012-07-15         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (test_scalar): New function and new tests.
Packit 575503
	(init_testext): Add a new variable.
Packit 575503
Packit 575503
2012-07-13         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (fill_stat_array): New function to do the work
Packit 575503
	for stat.
Packit 575503
	(do_stat): Call it.
Packit 575503
Packit 575503
2012-07-12         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* fnmatch.c: New file.
Packit 575503
	* Makefile.am: Build fnmatch extension.
Packit 575503
	* configure.ac: Look for fnmatch.h and fnmatch function.
Packit 575503
Packit 575503
	* fnmatch.c (init_fnmatch): Use sym_constant for FNM_NOMATCH.
Packit 575503
	* testext.c (dl_load): Use sym_constant for answer_num.
Packit 575503
Packit 575503
	* testext.c (init_testext): Move extra code to here.
Packit 575503
	(init_func): Change to point to init_testext.
Packit 575503
	(dl_load): Deleted.
Packit 575503
	(dl_load_func): Use the macro.
Packit 575503
Packit 575503
2012-07-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (array_set, do_stat): Use make_const_string.
Packit 575503
	* fork.c (array_set_numeric): Ditto.
Packit 575503
	* ordchr.c (do_chr): Ditto.
Packit 575503
	* readfile.c (do_readfile): Use make_null_string, make_malloced_string.
Packit 575503
	* rwarray.c (read_elem): Ditto.
Packit 575503
	* testext.c (valrep2str): Add case for AWK_SCALAR.
Packit 575503
	(test_array_elem): Duplicate strings coming from gawk before passing
Packit 575503
	them back in.
Packit 575503
Packit 575503
	All files: Add null 'init_func' file pointer for dl_load_func
Packit 575503
	to work.
Packit 575503
Packit 575503
2012-07-09         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_readfile): Return "" and set ERRNO on error
Packit 575503
	instead of returning -1. Per suggestion from Andrew Schorr.
Packit 575503
Packit 575503
2012-07-08         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (array_set): Adjust for change in set_array_element API.
Packit 575503
	* fork.c (array_set_numeric): Ditto.
Packit 575503
	* rwarray.c (read_array): Use set_array_element_by_elem.
Packit 575503
	(read_value): Add a cast to silence a compiler warning.
Packit 575503
	* testext.c (test_array_elem): Adjust for change in set_array_element
Packit 575503
	API.
Packit 575503
	(fill_in_array): Ditto. Change parameter name to new_array.
Packit 575503
Packit 575503
2012-06-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* ordchr.c (do_ord, do_chr): Improve argument checking and
Packit 575503
	lint messages.
Packit 575503
Packit 575503
2012-06-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am (EXTRA_DIST): Remove *.awk.
Packit 575503
	* rwarray.awk: Moved to test directory.
Packit 575503
Packit 575503
2012-06-24         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* Makefile.am: Enable rwarray extension.
Packit 575503
	* rwarray.c: Redone to use new API.
Packit 575503
	* rwarray.awk: Revamped for new version.
Packit 575503
Packit 575503
2012-06-21         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (test_array_elem): Add a subarray.
Packit 575503
	(test_array_flatten): Removed: Tests done elsewhere.
Packit 575503
Packit 575503
2012-06-20         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (fill_in_array): New function.
Packit 575503
	(create_new_array): Most code moved into fill_in_array.
Packit 575503
	(test_array_param): New function.
Packit 575503
Packit 575503
2012-06-19         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c (dump_array_and_delete): Renamed from dump_array.
Packit 575503
	Get second parameter which is index to delete. Update awk test.
Packit 575503
Packit 575503
2012-06-18         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_chdir): Change element use to match change types.
Packit 575503
	* fork.c (array_set_numeric): Ditto.
Packit 575503
	* testext.c (valrep2str): New function.
Packit 575503
	(test_array_elem): Add AWK_UNDEFINED for `wanted'. Use valrep2str.
Packit 575503
	Adjust use of element index.
Packit 575503
	(dump_array): Renamed from `dump_procinfo' and implemented.
Packit 575503
	(func_table): Updated.
Packit 575503
Packit 575503
2012-06-17         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_chdir, do_stat): Add assert(result != NULL).
Packit 575503
	* fork.c (do_fork, do_waitpid, do_wait): Ditto.
Packit 575503
	* ordchr.c (do_ord, do_chr): Ditto.
Packit 575503
	* readfile.c (do_readfile): Ditto.
Packit 575503
	* time.c (do_gettimeofday, do_sleep): Ditto.
Packit 575503
	* testext.c (All functions): Ditto. Clean up initial testing and use
Packit 575503
	make_number to make default return value up front.
Packit 575503
	(create_new_array, test_array_flatten): New functions.
Packit 575503
	(test_array_elem): Implemented.
Packit 575503
	(at_exit1): Don't printa actual pointer value: not portable.
Packit 575503
	(dl_load): Load up an array also.
Packit 575503
Packit 575503
2012-06-14         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* time.c (RETURN): Remove obsolete define.
Packit 575503
	(do_sleep): Change update_ERRNO_str argument to request translation.
Packit 575503
Packit 575503
2012-06-12         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Revise API:
Packit 575503
Packit 575503
	* filefuncs.c (do_chdir): Replace get_curfunc_param with get_argument.
Packit 575503
	(format_mode): Use unsigned masks.
Packit 575503
	(do_stat): Replace get_curfunc_param with get_argument.
Packit 575503
	* fork.c (do_fork): Rearrange arg order in call to sym_lookup
Packit 575503
	(do_waitpid): Replace get_curfunc_param with get_argument.
Packit 575503
	* ordchr.c (do_ord, do_chr): Replace get_curfunc_param with get_argument.
Packit 575503
	* readfile.c (do_readfile): Replace get_curfunc_param with get_argument.
Packit 575503
	* time.c (do_sleep): Replace get_curfunc_param with get_argument.
Packit 575503
	Replace set_ERRNO with update_ERRNO_str for no way to sleep case.
Packit 575503
Packit 575503
	Work on testext.c:
Packit 575503
Packit 575503
	* Makefile.am: Add stuff to make testext. Remove doit and steps
Packit 575503
	from EXTRA_DIST.
Packit 575503
	* testext.c: Fill in many of the test routines. Still more to do.
Packit 575503
	Fix up test scripts for each routine.
Packit 575503
	* time.c (do_sleep): Fix use of get_argument to be boolean.
Packit 575503
Packit 575503
2012-06-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am: Add time extension.
Packit 575503
	* configure.ac: To support time extension, check for some headers
Packit 575503
	and functions that are needed.
Packit 575503
	* time.c: New file implementing sleep and gettimeofday.
Packit 575503
Packit 575503
2012-06-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am: Remove comment referring to deleted test extensions
Packit 575503
	arrayparm, dl (zaxxon) and testarg.
Packit 575503
Packit 575503
2012-06-10         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* arrayparm.c, dl.c, doit, foo.awk, steps, testarg.awk, testarg.c,
Packit 575503
	testarrayparm.awk, testff.awk, testfork.awk, testordchr.awk: Remove
Packit 575503
	unused (obsolete) files.
Packit 575503
Packit 575503
2012-06-06         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_stat): Make `type' const char *.
Packit 575503
Packit 575503
	* testext.c: Functions renamed, some of them filled in. Corresponding
Packit 575503
	awk code for each test added inline.
Packit 575503
Packit 575503
2012-05-30         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* testext.c: New file. Outline of tests for extension API.
Packit 575503
Packit 575503
2012-05-29         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c: Further cleanup and condensation of code into tables.
Packit 575503
	* fork.c, ordchr.c, readfile.c: Update copyright, general cleanup.
Packit 575503
Packit 575503
2012-05-25         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs.c (array_set_numeric): Don't return a value from
Packit 575503
	a void function.
Packit 575503
Packit 575503
2012-05-24         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (AM_CPPFLAGS): Use $(srcdir) to work properly when
Packit 575503
	built outside the source directory.
Packit 575503
	* configure.ac (INSTALL): Set location manually since autoconf was
Packit 575503
	not specifying the proper path for install-sh.
Packit 575503
	* filefuncs2.c, ordchr2.c, readfile2.c: Deleted.
Packit 575503
	* filefuncs.c: Install filefuncs2.c and patch for recent API changes.
Packit 575503
	* ordchr.c: Install ordchr2.c and patch for recent API changes.
Packit 575503
	* readfile.c: Install readfile2.c and patch for recent API changes.
Packit 575503
	* fork.c: Port to new API.
Packit 575503
Packit 575503
2012-05-21         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* configure.ac: New file to run configure with libtool support
Packit 575503
	in this subdirectory.
Packit 575503
	* Makefile.am: Some changes related to running automake in this
Packit 575503
	directory.
Packit 575503
	* AUTHORS, COPYING, INSTALL, NEWS, README: Added files to make automake
Packit 575503
	happy.
Packit 575503
	* aclocal.m4, configure, configh.in: Added autoconf files.
Packit 575503
	* build-aux, m4: New subdirectories for autoconf stuff.
Packit 575503
Packit 575503
2012-05-15         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* filefuncs2.c: New file implementing chdir and stat using the
Packit 575503
	new interface.
Packit 575503
Packit 575503
	Everything else is temporarily broken.
Packit 575503
Packit 575503
2012-05-13         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c (array_set): Add a comment discussing the use of unref
Packit 575503
	on the value returned by assoc_lookup.
Packit 575503
Packit 575503
2012-05-13         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* xreadlink.[ch]: Remove unused files.
Packit 575503
Packit 575503
2012-05-11         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	Sweeping change: Use `bool', `true', and `false' everywhere.
Packit 575503
Packit 575503
2012-04-11         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c (array_set): New function to set an array element.
Packit 575503
	(do_set): Use new array_set function to reduce code duplication and
Packit 575503
	to make sure the memory management is handled properly.
Packit 575503
Packit 575503
2012-04-07         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c: Remove unnecessary #include <sys/sysmacros.h>.
Packit 575503
	(read_symlink): New function to read symbolic links more robustly.
Packit 575503
	(do_stat): Use read_symlink instead of readlink.
Packit 575503
	* fork.c (do_wait): new function.
Packit 575503
	(dlload): Call make_builtin to add "wait" function.
Packit 575503
Packit 575503
2012-04-02         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* fork.c (do_fork): Test whether PROCINFO_node exists before updating
Packit 575503
	the pid values.  And do so properly using make_number.
Packit 575503
	* readfile.c (do_readfile): Function should be static.
Packit 575503
Packit 575503
2012-04-01         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* filefuncs.c (do_chdir, do_stat): Replace update_ERRNO() with
Packit 575503
	update_ERRNO_int(errno).
Packit 575503
	* fork.c (do_fork, do_waitpid): Ditto.
Packit 575503
	* readfile.c (do_readfile): Ditto.
Packit 575503
	* rwarray.c (do_writea, do_reada): Ditto.
Packit 575503
Packit 575503
2012-03-25         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am: Major cleanup.  Use libtool options -module and
Packit 575503
	-avoid-version to create the modules properly without my local hack
Packit 575503
	to override the default behavior.
Packit 575503
Packit 575503
2012-03-25         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* .gitignore: New file to ignore files created by libtool (including
Packit 575503
	binaries and associated metadata).
Packit 575503
Packit 575503
2012-03-21         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am (INCLUDES): Remove -I$(top_srcdir)/intl.
Packit 575503
Packit 575503
2012-03-20         Andrew J. Schorr     <aschorr@telemetry-investments.com>
Packit 575503
Packit 575503
	* Makefile.am: New file to build and install shared libraries.
Packit 575503
	* arrayparm.c (do_mkarray): Get it to compile by removing 2nd arg
Packit 575503
	to assoc_clear.
Packit 575503
	* filefuncs.c (do_stat): Ditto.
Packit 575503
Packit 575503
2011-08-31         John Haque     <j.eh@mchsi.com>
Packit 575503
Packit 575503
	* arrayparm.c, filefuncs.c, fork.c, ordchr.c, readfile.c,
Packit 575503
	rwarray.c, testarg.c: Updated.
Packit 575503
Packit 575503
2012-03-28         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* 4.0.1: Release tar ball made.
Packit 575503
Packit 575503
2011-06-23         Arnold D. Robbins     <arnold@skeeve.com>
Packit 575503
Packit 575503
	* ChangeLog.0: Rotated ChangeLog into this file.
Packit 575503
	* ChangeLog: Created anew for gawk 4.0.0 and on.
Packit 575503
	* 4.0.0: Release tar ball made.