zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Re: dev-22 compile problem
@ 2000-04-13  8:18 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-04-13  8:18 UTC (permalink / raw)
  To: zsh-workers


Bart Schaefer wrote:

> On Apr 12,  4:29pm, Jason Price wrote:
> > Subject: dev-22 compile problem
> > 
> > hashtable.c:1191: structure has no member named `en_cols'
> 
> Apparently no one else is building zsh with HAVE_NIS_PLUS.
> 
> Try deleting half of the .en_cols.en_cols on line 1191 of hashtable.c.

No. The field is named en_cols_len. Weird, I'm pretty sure I once was
able to compile and use it -- some years ago.

Bye
 Sven

Index: Src/hashtable.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/hashtable.c,v
retrieving revision 1.2
diff -u -r1.2 hashtable.c
--- Src/hashtable.c	2000/04/01 20:49:48	1.2
+++ Src/hashtable.c	2000/04/13 08:16:46
@@ -1188,7 +1188,7 @@
 static int
 add_userdir(nis_name table, nis_object *object, void *userdata)
 {
-    if (object->zo_data.objdata_u.en_data.en_cols.en_cols >= 6) {
+    if (object->zo_data.objdata_u.en_data.en_cols.en_cols_len >= 6) {
 	static char name[40], dir[PATH_MAX + 1];
 	register entry_col *ec =
 	    object->zo_data.objdata_u.en_data.en_cols.en_cols_val;

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-13  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-13  8:18 PATCH: Re: dev-22 compile problem Sven Wischnowsky

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).