aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-06-10 08:51:47 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-06-10 17:49:50 +0300
commite0fd662ce71025cd98193e6c3229dbdff22aeccc (patch)
tree1ba65ce42190506d09dc86b2c5b6ac59ba00e02a /extension
parent17d03a4deb7ed18abb4e0e590e6315050d9c29fd (diff)
downloadegawk-e0fd662ce71025cd98193e6c3229dbdff22aeccc.tar.gz
egawk-e0fd662ce71025cd98193e6c3229dbdff22aeccc.tar.bz2
egawk-e0fd662ce71025cd98193e6c3229dbdff22aeccc.zip
Add ChangeLog entries and some more minor fixes.
Diffstat (limited to 'extension')
-rw-r--r--extension/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog
index addf9365..223b817d 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,24 @@
+2020-06-10 Arnold D. Robbins <arnold@skeeve.com>
+
+ Miscellanious fixes from Michael Builov <mbuilov@gmail.com>.
+
+ * fts.c (fts_open): Fix memory leak: fts_sort() allocates
+ sp->fts_array, but it's not freed if next fts_alloc() fails.
+ (fts_build): Need to free "head" list before returning NULL
+ on failure.
+ * readdir.c (get_inode): On Windows handle leak: opened handle
+ was not closed.
+ * filefuncs.c (get_inode): On Windows handle leak: opened handle
+ was not closed.
+ (fill_stat_array): Correct the block size calculation.
+ (init_filefuncs, do_fts): According to the documentation,
+ setting the FTS_NOCHDIR flag should only disable the optimization of
+ changing the current directory when scanning directories.
+ However, setting this flag in the gawk script also included setting
+ FTS_SKIP, which prevented recursive directory traversal. Fix this.
+ * rwarray0.c (read_value): Result of read_array() is awk_bool_t,
+ not error code. Fix the check.
+
2020-04-14 Arnold D. Robbins <arnold@skeeve.com>
* 5.1.0: Release tar ball made.