patch 7.4.1126
Problem:    Can only get the directory of the current window.
Solution:   Add window and tab arguments to getcwd() and haslocaldir().
            (Thinca, Hirohito Higashi)
diff --git a/src/Makefile b/src/Makefile
index 4977d7c..b23237c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1946,6 +1946,7 @@
 	test_erasebackword \
 	test_eval \
 	test_fixeol \
+	test_getcwd \
 	test_insertcount \
 	test_listchars \
 	test_listlbr \