This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sunrpc auth_none.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sourceware dot cygnus dot com
- Date: 20 Apr 2002 19:08:08 -0000
- Subject: libc/sunrpc auth_none.c
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2-2-branch
Changes by: drepper@sources.redhat.com 2002-04-20 12:08:08
Modified files:
sunrpc : auth_none.c
Log message:
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).