(Illustration by Gaich Muramatsu)
It looks like we have a conflict that needs to be solved:
The following are the last two commits diffs to mariner.cc. Solaris needs
the signed to compile, and I suspect Linux needs the unsigned version.
We need to come up with an approprate socklen_type that is defined
correctly for each OS. Does someone else want to take a stab at this
or shall I?
Index: mariner.cc
---Received on 2000-02-02 14:48:44
> int sinlen = sizeof(struct sockaddr_in);
188c188 < unsigned int sunlen = sizeof(struct sockaddr_un); ---
> int sunlen = sizeof(struct sockaddr_un);
Index: mariner.cc =================================================================== RCS file: /afs/cs/project/coda-src/cvs/coda/coda-src/venus/mariner.cc,v retrieving revision 4.29 retrieving revision 4.30 diff -r4.29 -r4.30 182c182 < int sinlen = sizeof(struct sockaddr_in); ---
> u_int32_t sinlen = sizeof(struct sockaddr_in);
188c188 < int sunlen = sizeof(struct sockaddr_un); ---
> u_int32_t sunlen = sizeof(struct sockaddr_un);
- -- Phil Nelson NetBSD: http://www.netbsd.org e-mail: phil@cs.wwu.edu Coda: http://www.coda.cs.cmu.edu http://www.cs.wwu.edu/~phil