Issue #15765: Fix quirky NetBSD getcwd() behaviour.
This is done by extending a previous fix for issue #9185 that was made for
Solaris and OpenBSD to NetBSD as well.
diff --git a/Misc/NEWS b/Misc/NEWS
index 54c260c..1b7f80f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -346,6 +346,9 @@
Tests
-----
+- Issue #15765: Extend a previous fix to Solaris and OpenBSD for quirky
+ getcwd() behaviour (issue #9185) to NetBSD as well.
+
- Issue #15615: Add some tests for the json module's handling of invalid
input data. Patch by Kushal Das.