* nis/nis_call.c: Minor cleanups throughout.
authorUlrich Drepper <drepper@redhat.com>
Mon, 7 Aug 2006 16:03:46 +0000 (16:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 7 Aug 2006 16:03:46 +0000 (16:03 +0000)
commitbd1ebae0eb756824f9a8dbc66aa2913733c06354
treeba51c6a301fe6be75fbd23ad5e1073dc0962d5cf
parentfe710250508e0710ac5db1fff1596ac5b092ab64
* nis/nis_call.c: Minor cleanups throughout.

(rec_dirsearch) [HIGHER_NAME]: Correctly size ndomain array.
(first_shoot): Add search_parent_first parameter.  Only if it is set
search parent server first.
If directory for table found through cold start cache is not the same
as referenced in the cache, don't use it.
(__nisfind_server): Take additional parameter.  Pass it on to
first_shoot.
(__prepare_niscall): Adjust __nisfind_server call.
* nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype.
* nis/nis_table.c: Adjust __nisfind_server call.
* nis/nis_lookup.c: Likewise.
(nis_lookup): Don't loop endlessly if name is reduced to ".".
ChangeLog
nis/nis_call.c
nis/nis_lookup.c
nis/nis_table.c
nis/rpcsvc/nislib.h