diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-05-10 23:37:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-05-10 23:37:32 +0000 |
commit | 43b0e40f85770cd1f362c3abbad41e09bd9f0b17 (patch) | |
tree | 799af104f1ab7419ac37f0d9a8d5d34a73bba54b /nis/nis_table.c | |
parent | 8b13cb56b3433bed5233840af66127a745c27718 (diff) | |
download | glibc-43b0e40f85770cd1f362c3abbad41e09bd9f0b17.tar glibc-43b0e40f85770cd1f362c3abbad41e09bd9f0b17.tar.gz glibc-43b0e40f85770cd1f362c3abbad41e09bd9f0b17.tar.bz2 glibc-43b0e40f85770cd1f362c3abbad41e09bd9f0b17.zip |
Update.cvs/libc-ud-970511
1997-05-10 11:46 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
* nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
namespace hierachy.
* nis/nis_intern.h: Add new __nis_docall function prototypes.
* nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
rewritten functions.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_table.c: Likewise.
1997-05-09 16:09 Miles Bader <miles@gnu.ai.mit.edu>
* argp/argp-eexst.c: Include <sysexits.h>.
(argp_err_exit_status): Initialize to EX_USAGE.
* argp/argp.h, argp/argp-help.c: Doc fixes.
1997-05-08 17:15 Miles Bader <miles@gnu.ai.mit.edu>
* argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
* argp/argp-help.c (canon_doc_option): Correct ctype tests.
Diffstat (limited to 'nis/nis_table.c')
-rw-r--r-- | nis/nis_table.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/nis/nis_table.c b/nis/nis_table.c index 268ea2f76c..5fa3c89e0b 100644 --- a/nis/nis_table.c +++ b/nis/nis_table.c @@ -197,9 +197,9 @@ nis_list (const_nis_name name, u_long flags, { memset (res, '\0', sizeof (nis_result)); - if ((result = __do_niscall (NULL, 0, NIS_IBLIST, + if ((result = __do_niscall (ibreq.ibr_name, NIS_IBLIST, (xdrproc_t) xdr_ib_request, - (caddr_t) & ibreq, (xdrproc_t) xdr_nis_result, + (caddr_t) &ibreq, (xdrproc_t) xdr_nis_result, (caddr_t) res, flags)) != RPC_SUCCESS) { res->status = result; @@ -276,9 +276,9 @@ nis_add_entry (const_nis_name name, const nis_object *obj, ibreq.ibr_obj.ibr_obj_val = nis_clone_object (obj, NULL); ibreq.ibr_obj.ibr_obj_len = 1; - if ((status = __do_niscall (NULL, 0, NIS_IBADD, + if ((status = __do_niscall (ibreq.ibr_name, NIS_IBADD, (xdrproc_t) xdr_ib_request, - (caddr_t) & ibreq, + (caddr_t) &ibreq, (xdrproc_t) xdr_nis_result, (caddr_t) res, 0)) != RPC_SUCCESS) res->status = status; @@ -308,7 +308,7 @@ nis_modify_entry (const_nis_name name, const nis_object *obj, ibreq.ibr_obj.ibr_obj_val = nis_clone_object (obj, NULL); ibreq.ibr_obj.ibr_obj_len = 1; - if ((status = __do_niscall (NULL, 0, NIS_IBMODIFY, + if ((status = __do_niscall (ibreq.ibr_name, NIS_IBMODIFY, (xdrproc_t) xdr_ib_request, (caddr_t) & ibreq, (xdrproc_t) xdr_nis_result, (caddr_t) res, 0)) != RPC_SUCCESS) @@ -342,7 +342,7 @@ nis_remove_entry (const_nis_name name, const nis_object *obj, ibreq.ibr_obj.ibr_obj_len = 1; } - if ((status = __do_niscall (NULL, 0, NIS_IBREMOVE, + if ((status = __do_niscall (ibreq.ibr_name, NIS_IBREMOVE, (xdrproc_t) xdr_ib_request, (caddr_t) & ibreq, (xdrproc_t) xdr_nis_result, (caddr_t) res, 0)) != RPC_SUCCESS) @@ -368,8 +368,9 @@ nis_first_entry (const_nis_name name) return res; } - if ((status = __do_niscall (NULL, 0, NIS_IBFIRST, (xdrproc_t) xdr_ib_request, - (caddr_t) & ibreq, (xdrproc_t) xdr_nis_result, + if ((status = __do_niscall (ibreq.ibr_name, NIS_IBFIRST, + (xdrproc_t) xdr_ib_request, + (caddr_t) &ibreq, (xdrproc_t) xdr_nis_result, (caddr_t) res, 0)) != RPC_SUCCESS) res->status = status; @@ -406,8 +407,9 @@ nis_next_entry (const_nis_name name, const netobj *cookie) ibreq.ibr_cookie.n_len = cookie->n_len; } - if ((status = __do_niscall (NULL, 0, NIS_IBNEXT, (xdrproc_t) xdr_ib_request, - (caddr_t) & ibreq, (xdrproc_t) xdr_nis_result, + if ((status = __do_niscall (ibreq.ibr_name, NIS_IBNEXT, + (xdrproc_t) xdr_ib_request, + (caddr_t) &ibreq, (xdrproc_t) xdr_nis_result, (caddr_t) res, 0)) != RPC_SUCCESS) res->status = status; |