From 539de0a854fb94fd6ba47e91cee55f22fcd851a3 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 12 Dec 2016 21:54:57 +0200 Subject: Improve handling of min and max args for extension functions. --- extension/filefuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension/filefuncs.c') diff --git a/extension/filefuncs.c b/extension/filefuncs.c index 02b40534..de293bee 100644 --- a/extension/filefuncs.c +++ b/extension/filefuncs.c @@ -914,7 +914,7 @@ out: static awk_ext_func_t func_table[] = { { "chdir", do_chdir, 1, 1 }, - { "stat", do_stat, 2, 3 }, + { "stat", do_stat, 3, 2 }, #ifndef __MINGW32__ { "fts", do_fts, 3, 3 }, #endif -- cgit v1.2.3