Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

hist.c (workers/26754, Revision: 1.4627) fails to compile on OSX



hist.c: In function ‘chrealpath’:
hist.c:1610: error: ‘lastpos’ undeclared (first use in this function)
hist.c:1610: error: (Each undeclared identifier is reported only once
hist.c:1610: error: for each function it appears in.)
hist.c:1611: error: ‘nonreal’ undeclared (first use in this function)
hist.c:1623: error: ‘real’ undeclared (first use in this function)
make[2]: *** [hist.o] Error 1

Index: Src/hist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/hist.c,v
retrieving revision 1.92
diff -u -r1.92 hist.c
--- Src/hist.c	19 Mar 2009 15:00:23 -0000	1.92
+++ Src/hist.c	19 Mar 2009 17:38:19 -0000
@@ -1583,7 +1583,7 @@
 #ifdef HAVE_CANONICALIZE_FILE_NAME
     char *lastpos, *nonreal, *real;
 #else
-# ifdef HAVE_REAL_PATH
+# ifdef HAVE_REALPATH
     char *lastpos, *nonreal, real[PATH_MAX];
 # endif
 #endif



Messages sorted by: Reverse Date, Date, Thread, Author