Commit c7939585 authored by Eli Zaretskii's avatar Eli Zaretskii

Remove functions and macros unused on MS-Windows.

 src/w32.c (sys_chown): Remove unused function.

 nt/inc/ms-w32.h (chown, logb): Remove, unused.
parent cd91fb4b
......@@ -2,6 +2,7 @@
* inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
(Bug#9066)
(chown, logb): Remove, unused.
2013-02-13 Juanma Barranquero <lekktu@gmail.com>
......
......@@ -149,7 +149,6 @@ extern char *getenv ();
#define chdir sys_chdir
#undef chmod
#define chmod sys_chmod
#define chown sys_chown
#undef close
#define close sys_close
#undef creat
......@@ -222,7 +221,6 @@ typedef int pid_t;
#define strtoll _strtoi64
#endif
#define isatty _isatty
#define logb _logb
#define _longjmp longjmp
#define lseek _lseek
#define popen _popen
......
2013-02-16 Eli Zaretskii <eliz@gnu.org>
* w32.c (sys_chown): Remove unused function.
* w32term.c <input_signal_count>: Declare 'volatile'
unconditionally. (Bug#9066)
......
......@@ -3219,14 +3219,6 @@ sys_chmod (const char * path, int mode)
return _chmod (path, mode);
}
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment