aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/w32.c b/src/w32.c
index 1bb4a91ff03..1585b3eaf1e 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -1898,6 +1898,14 @@ sys_chmod (const char * path, int mode)
1898} 1898}
1899 1899
1900int 1900int
1901sys_chown (const char *path, uid_t owner, gid_t group)
1902{
1903 if (sys_chmod (path, _S_IREAD) == -1) /* check if file exists */
1904 return -1;
1905 return 0;
1906}
1907
1908int
1901sys_creat (const char * path, int mode) 1909sys_creat (const char * path, int mode)
1902{ 1910{
1903 return _creat (map_w32_filename (path, NULL), mode); 1911 return _creat (map_w32_filename (path, NULL), mode);