changeset 9597:bf58329a2f1b

* lib/canonicalize-lgpl.c [!_LIBC]: Fix typo in #if directive: s/S_ISNLK/S_ISLNK/.
author Colin Watson <cjwatson@debian.org>
date Thu, 10 Jan 2008 10:16:08 +0100
parents 6eb1fb1fb3e8
children 2ef16c5bba5b
files ChangeLog lib/canonicalize-lgpl.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-10   Colin Watson  <cjwatson@debian.org>
+
+	* lib/canonicalize-lgpl.c [!_LIBC]: Fix typo in #if directive:
+	s/S_ISNLK/S_ISLNK/.
+
 2008-01-09  Bruno Haible  <bruno@clisp.org>
 
 	* doc/functions/memmem.texi: Use the same structure as snprintf.texi
--- a/lib/canonicalize-lgpl.c
+++ b/lib/canonicalize-lgpl.c
@@ -78,7 +78,7 @@
 # endif
 # define __readlink readlink
   /* On systems without symbolic links, call stat() instead of lstat().  */
-# if !defined S_ISNLK && !HAVE_READLINK
+# if !defined S_ISLNK && !HAVE_READLINK
 #  define lstat stat
 # endif
 #endif