]> Savannah Git Hosting - gnulib.git/commit
getumask: Make it work on native Windows.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Apr 2023 21:21:42 +0000 (23:21 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 15:32:02 +0000 (17:32 +0200)
commit8abbd0ad60aece1a582e1bfea0fe4ed72f6bc130
tree9b046a2744365af2b5691d1bb9591d157a5deac9
parent95171f2028b0325c2d0ee46eae96022cb70024c2
getumask: Make it work on native Windows.

* lib/getumask.c (getumask): When TMPDIR is unset, try TMP and TEMP.
* tests/test-getumask.c (ASSUME_UMASK_CONSTANT): Define to 1 on native
Windows.
ChangeLog
lib/getumask.c
tests/test-getumask.c