Source-Changes archive

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

CVS commit: src/usr.sbin/ypserv



Module Name:    src
Committed By:   lukem
Date:           Fri Feb 29 03:00:47 UTC 2008

Modified Files:
        src/usr.sbin/ypserv/common: ypdb.c ypdb.h
        src/usr.sbin/ypserv/makedbm: makedbm.c
        src/usr.sbin/ypserv/mkalias: mkalias.c
        src/usr.sbin/ypserv/yppush: yppush.c
        src/usr.sbin/ypserv/ypserv: ypserv_db.c
        src/usr.sbin/ypserv/ypxfr: ypxfr.c

Log Message:
Simplify ypdb_open() API and just use it for opening the DB for reading.
Provide a separate ypdb_mktemp() API to open a temporary file read-write.
Use mkstemp() instead of mktemp().

NOTE: makedbm & mkalias tested ok.  I couldn't test ypxfer.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.sbin/ypserv/common/ypdb.c
cvs rdiff -r1.4 -r1.5 src/usr.sbin/ypserv/common/ypdb.h
cvs rdiff -r1.21 -r1.22 src/usr.sbin/ypserv/makedbm/makedbm.c
cvs rdiff -r1.14 -r1.15 src/usr.sbin/ypserv/mkalias/mkalias.c
cvs rdiff -r1.20 -r1.21 src/usr.sbin/ypserv/yppush/yppush.c
cvs rdiff -r1.18 -r1.19 src/usr.sbin/ypserv/ypserv/ypserv_db.c
cvs rdiff -r1.14 -r1.15 src/usr.sbin/ypserv/ypxfr/ypxfr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index