]> 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>
Thu, 20 Apr 2023 21:21:42 +0000 (23:21 +0200)
commitdd0a48f50a97ca1185c957b0846e715be7777bcb
tree196f96c02a3f149e31223a3146aeab16dc428ebd
parent876ad6af66851d4e25bb8475e1cd1ec46680b703
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