mirror of git://sourceware.org/git/glibc.git
2002-04-11 Zack Weinberg <zack@codesourcery.com> * include/rpc/rpc.h (struct rpc_thread_variables): Remove authnone_private_s. * sunrpc/auth_none.c: Include bits/libc-lock.h. Delete #ifdef _RPC_THREAD_SAFE_ block. (authnone_private): Make a struct, not a pointer to struct. (authnone_private_guard): New once-control variable. (authnone_create_once): New function, split out of authnone_create. No need to allocate memory. (authnone_create): Just call authnone_create_once via __libc_once, then return &authnone_private->no_client. (authnone_marshal): Access private data via CLIENT argument, not authnone_private pointer. Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE). * sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free authnone_private_s. |
||
|---|---|---|
| .. | ||
| rpc | ||
| rpcsvc | ||
| .cvsignore | ||
| Makefile | ||
| Versions | ||
| auth_des.c | ||
| auth_none.c | ||
| auth_unix.c | ||
| authdes_prot.c | ||
| authuxprot.c | ||
| bindrsvprt.c | ||
| clnt_gen.c | ||
| clnt_perr.c | ||
| clnt_raw.c | ||
| clnt_simp.c | ||
| clnt_tcp.c | ||
| clnt_udp.c | ||
| clnt_unix.c | ||
| create_xid.c | ||
| des_crypt.c | ||
| des_impl.c | ||
| des_soft.c | ||
| etc.rpc | ||
| get_myaddr.c | ||
| getrpcport.c | ||
| key_call.c | ||
| key_prot.c | ||
| netname.c | ||
| openchild.c | ||
| pm_getmaps.c | ||
| pm_getport.c | ||
| pmap_clnt.c | ||
| pmap_prot.c | ||
| pmap_prot2.c | ||
| pmap_rmt.c | ||
| proto.h | ||
| publickey.c | ||
| rpc_clntout.c | ||
| rpc_cmsg.c | ||
| rpc_common.c | ||
| rpc_cout.c | ||
| rpc_dtable.c | ||
| rpc_hout.c | ||
| rpc_main.c | ||
| rpc_parse.c | ||
| rpc_parse.h | ||
| rpc_prot.c | ||
| rpc_sample.c | ||
| rpc_scan.c | ||
| rpc_scan.h | ||
| rpc_svcout.c | ||
| rpc_tblout.c | ||
| rpc_thread.c | ||
| rpc_util.c | ||
| rpc_util.h | ||
| rpcinfo.c | ||
| rtime.c | ||
| svc.c | ||
| svc_auth.c | ||
| svc_authux.c | ||
| svc_raw.c | ||
| svc_run.c | ||
| svc_simple.c | ||
| svc_tcp.c | ||
| svc_udp.c | ||
| svc_unix.c | ||
| svcauth_des.c | ||
| xcrypt.c | ||
| xdr.c | ||
| xdr_array.c | ||
| xdr_float.c | ||
| xdr_intXX_t.c | ||
| xdr_mem.c | ||
| xdr_rec.c | ||
| xdr_ref.c | ||
| xdr_sizeof.c | ||
| xdr_stdio.c | ||