summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/ypxfr_misc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the incompatible enum conversions in libexec/ypxfr in another, moredim2011-12-161-16/+16
| | | | | | | | messy way, so as to not disrupt other yp programs: just add casts to convert the incompatible enums, as the numerical values are the same (either by accident, design, or the phase of the moon at that time). MFC after: 1 week
* Remove definition of struct dom_binding, it's non-standard C code andstefanf2004-10-171-1/+0
| | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.
* Don't pass a pointer to a 'long' to a function that expects an 'int *'.das2004-02-161-2/+2
| | | | | Submitted by: Roop Nanuwa <roop@hqst.com> PR: 62615
* Use __FBSDID vs. rcsid[].obrien2003-05-041-4/+2
|
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-3/+3
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Fix warnings.des2002-04-061-1/+1
| | | | Sponsored by: DARPA, NAI Labs
* ANSIfy and remove some dead code.des2002-02-061-18/+9
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-061-2/+2
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* Spelling fix: transfered --> transferredjlemon2000-06-021-1/+1
| | | | Submitted by: dan@dan.emsphone.com
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use full path in synopsis. Sort #includes. Use .Tn for NIS.charnier1997-12-081-6/+6
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Give ypxfr the ability to detect the presence of the YP_INTERDOMAINwpaul1996-10-251-2/+48
| | | | | | | | | and YP_SECURE flags so that it can properly add them to newly created maps when needed. This applies only when using the 'standard' method for map transfers. When using rpc.ypxfrd, the whole map is copied verbatim, along with any special entries that may be encoded in it. Also made -Wall a little quieter for ypxfrd_getmap.c.
* Add support for rpc.ypxfrd and document it in the man page.wpaul1996-06-051-3/+3
| | | | | | | | Also generallize the yp_dbwrite functions a little: allow the caller to specify certain flags. I need this mostly for some changes to rpc.yppasswdd to allow in-place updates. Also change Makefile a little to use the same format as ypserv.
* phkmalloc doesn't like the call to xdr_free() in ypxfr_get_master().wpaul1996-05-071-3/+3
| | | | Nuke it.
* ypxfr_getmap.c:wpaul1996-02-041-11/+30
| | | | | | | | | | | | - Handle 'empty' maps more gracefully. By empty I mean a valid map that just happens not to have any entries in it, such as you would get if you built a map database from an empty file. Previously, trying to ypxfr such a map would yield an 'NIS map/database error' which is not the correct behavior. ypxfr_misc: - Make sure to free() or xdr_free() dynamically allocated memory in ypxfr_get_master() as necessary.
* This commit was generated by cvs2svn to compensate for changes in r13007,wpaul1995-12-251-0/+240
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud