]> git.ipfire.org Git - thirdparty/coreutils.git/commit
chown: port to mingw and MSVC 14
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Sep 2023 16:11:32 +0000 (09:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Sep 2023 22:10:44 +0000 (15:10 -0700)
commit74439d15d7f8eae1d942cd96632f4c1c4c9e9e3a
treeb72ce9e5474f914a1947ba0dbf8ef4aa4b736d62
parent850a05644196444f619b613a74dc7089436660c6
chown: port to mingw and MSVC 14

* src/chown-core.c (restricted_chown): Don’t assume fchown exists.
The Gnulib doc says that nowadays this is needed only for
ports to mingw and MSVC 14, but it’s an easy port so let’s do it.
src/chown-core.c