Coda File System

venus/mariner.cc --- last two changes ...

From: Phil Nelson <phil_at_cs.wwu.edu>
Date: Wed, 2 Feb 2000 11:19:37 -0800 (PST)
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
===================================================================
RCS file: /afs/cs/project/coda-src/cvs/coda/coda-src/venus/mariner.cc,v
retrieving revision 4.28
retrieving revision 4.29
diff -r4.28 -r4.29
182c182
<         unsigned int sinlen = sizeof(struct sockaddr_in);
---
>         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    
Received on 2000-02-02 14:48:44