* Bug in Src/zle_tricky.c
@ 1996-04-16 12:50 jkroeger
1996-04-16 13:46 ` Richard J. Coleman
0 siblings, 1 reply; 2+ messages in thread
From: jkroeger @ 1996-04-16 12:50 UTC (permalink / raw)
To: zsh-users
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@squirrel.owl.de>
Send me mail with subject "send pgp-key" to get my PGP key
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug in Src/zle_tricky.c
1996-04-16 12:50 Bug in Src/zle_tricky.c jkroeger
@ 1996-04-16 13:46 ` Richard J. Coleman
0 siblings, 0 replies; 2+ messages in thread
From: Richard J. Coleman @ 1996-04-16 13:46 UTC (permalink / raw)
To: zsh-users
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-04-16 14:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-16 12:50 Bug in Src/zle_tricky.c jkroeger
1996-04-16 13:46 ` Richard J. Coleman
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).