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

Bug in Src/zle_tricky.c



Compiling zsh-2.6-beta14 on my Linux box stopped with this error message:

zle_tricky.c: In function `maketildelist':
zle_tricky.c:1684: too few arguments to function
make[1]: *** [zle_tricky.o] Error 1
make[1]: Leaving directory `/usr/src/bin/zsh-2.6-beta14/Src'
make: *** [all] Error 1


The following patch fixed the bug, but I'm not sure if it is the right one.

--- zle_tricky.c~	Mon Apr 15 07:33:46 1996
+++ zle_tricky.c	Tue Apr 16 14:30:40 1996
@@ -1681,7 +1681,7 @@
     }
 #else  /* no NIS or NIS_PLUS */
     /* add all the usernames to the named directory table */
-    nameddirtab->filltable();
+    nameddirtab->filltable(nameddirtab);
 #endif
 
     scanhashtable(nameddirtab, 0, (addwhat==-1) ? 0 : ND_USERNAME, 0,


-- 
Johannes Kroeger		<jkroeger@xxxxxxxxxxxxxxx>
Send me mail with subject "send pgp-key" to get my PGP key




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