Subject: Re: CVS commit: src/usr.sbin/config
To: enami tsugutomo <enami@sm.sony.co.jp>
From: john heasley <heas@shrubbery.net>
List: source-changes
Date: 06/26/2003 17:54:54
Fri, Jun 27, 2003 at 09:21:50AM +0900, enami tsugutomo:
> > To generate a diff of this commit:
> > cvs rdiff -r1.77 -r1.78 src/usr.sbin/config/main.c
> 
> Why did you need to assume the layout of struct nvlist?
> 
> enami.

I do not understand what you're asking.  the cast?

 undo_option(struct hashtab *ht, struct nvlist **npp,
+    struct nvlist ***next, const char *name, const char *type)

+               if (next != NULL && *next == (struct nvlist **) *npp)
+                       *next = npp;