[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32.c |
Date: |
Fri, 24 Jun 2005 06:39:56 -0400 |
Index: emacs/src/w32.c
diff -c emacs/src/w32.c:1.92 emacs/src/w32.c:1.93
*** emacs/src/w32.c:1.92 Sun Jun 5 19:13:37 2005
--- emacs/src/w32.c Fri Jun 24 10:39:56 2005
***************
*** 1898,1903 ****
--- 1898,1911 ----
}
int
+ sys_chown (const char *path, uid_t owner, gid_t group)
+ {
+ if (sys_chmod (path, _S_IREAD) == -1) /* check if file exists */
+ return -1;
+ return 0;
+ }
+
+ int
sys_creat (const char * path, int mode)
{
return _creat (map_w32_filename (path, NULL), mode);