Subject: Re: pkg/5618: libscsi fails to build on alpha.
To: Chris G. Demetriou <cgd@pa.dec.com>
From: Tim Rightnour <root@garbled.net>
List: netbsd-bugs
Date: 06/19/1998 16:10:23
On 19-Jun-98 Chris G. Demetriou spoke unto us all:
# > The code in question tries to initialize a variable like so:
# >  va_list ap=(va_list)0;
# > My change was to do:
# > va_list ap;
# > ap.__base=(char *)0;
# > 
# > (I ifdeffed it with __alpha__ so other ports wont break)
# 
# Uh, code which does this, or tries to do this, is almost certainly
# (conceptually) broken.

Then I guess I'm at a total loss for what to do with this.  The code almost
looks like its passing va_lists around as baggage, and not even using them.  So
I guess my question here is.. what exactly *is* the proper fix, and how does it
work under freebsd in the first place if it's broken?

---
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html