X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/0c382083b6b550c26fad8ac7f59b1ba09663e728..25e65510a3d35524ade205c3114970c43dc6ae05:/lib-src/ntlib.c
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c
index c24b35d9a1..2cc791fb56 100644
--- a/lib-src/ntlib.c
+++ b/lib-src/ntlib.c
@@ -1,6 +1,9 @@
/* Utility and Unix shadow routines for GNU Emacs support programs on NT.
- Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2010 Free Software Foundation, Inc.
+
+Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc.
+
+Author: Geoff Voelker (voelker@cs.washington.edu)
+Created: 10-8-94
This file is part of GNU Emacs.
@@ -15,11 +18,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with GNU Emacs. If not, see .
-
-
- Geoff Voelker (voelker@cs.washington.edu) 10-8-94
-*/
+along with GNU Emacs. If not, see . */
#include
#include
@@ -29,6 +28,7 @@ along with GNU Emacs. If not, see .
#include
#include
#include
+#include
#include "ntlib.h"
@@ -144,7 +144,7 @@ setuid (unsigned uid)
}
int
-setegid (unsigned gid)
+setregid (unsigned rgid, unsigned gid)
{
return 0;
}
@@ -260,6 +260,7 @@ is_exec (const char * name)
stricmp (p, ".cmd") == 0));
}
+/* FIXME? This is in config.nt now - is this still needed? */
#define IS_DIRECTORY_SEP(x) ((x) == '/' || (x) == '\\')
/* We need this because nt/inc/sys/stat.h defines struct stat that is
@@ -374,5 +375,9 @@ stat (const char * path, struct stat * buf)
return 0;
}
-/* arch-tag: 7b63fb83-70ee-4124-8822-54e53e5d0773
- (do not change this comment) */
+int
+lstat (const char * path, struct stat * buf)
+{
+ return stat (path, buf);
+}
+