Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



christos
Tue Jun 18 16:06:01 EDT 1996
Update of /a/cvsroot/src/lib/libc/yp
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv24240

Modified Files:
        xdryp.c 
Log Message:
ypset(8) stopped working; reason:

xdr_ypbind_setdom() would always fail because the test for
xdr_ypdomain_wrap_string() was reversed. Fixed this and in
the process made all the function tests to be of the form:

        if (!xdr_foo())
                return FALSE;
        ....
        return TRUE;

instead of having some of them like above and others like:
        if (xdr_foo() == FALSE)
                return FALSE;
        ...

        return xdr_bar();

this is more consistant now and hopefully in the future people
will pattern match correctly and not introduce spurious errors.




Home | Main Index | Thread Index | Old Index