Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in Src/zle_tricky.c
- X-seq: zsh-users 189
- From: "Richard J. Coleman" <coleman@xxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Bug in Src/zle_tricky.c
- Date: Tue, 16 Apr 1996 09:46:08 -0400
- In-reply-to: Your message of "16 Apr 1996 12:50:50 -0000." <19960416125050.3876.qmail@xxxxxxxxxxxxxxx>
> 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,
Yes, that is the correct thing to do. It was a typo.
Sorry about that.
rc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author