summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/ntlib.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 955f8cd0330..c98d377f199 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-03 Eli Zaretskii <eliz@gnu.org>
+
+ * ntlib.c (lstat): New function, calls 'stat'.
+
2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
Use C99-style 'extern inline' if available.
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c
index d3b001c157c..7b41941ab14 100644
--- a/lib-src/ntlib.c
+++ b/lib-src/ntlib.c
@@ -374,3 +374,9 @@ stat (const char * path, struct stat * buf)
return 0;
}
+int
+lstat (const char * path, struct stat * buf)
+{
+ return stat (path, buf);
+}
+