Date: Tue, 29 Nov 2005 14:53:11 GMT From: soc-bushman <soc-bushman@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 87433 for review Message-ID: <200511291453.jATErBAu003470@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=87433 Change 87433 by soc-bushman@soc-bushman_stinger on 2005/11/29 14:52:56 some bugfixes + branch integration Affected files ... .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/Makefile#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/Makefile#16 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agent.c#8 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agent.h#8 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/Makefile.inc#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/group.c#8 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/group.h#8 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/hosts.c#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/hosts.h#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/passwd.c#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/passwd.h#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/services.c#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/services.h#11 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.8#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.conf#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.conf.5#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cachelib.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cachelib.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cacheplcs.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cacheplcs.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/config.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/config.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/debug.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/debug.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/hashtable.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/log.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/log.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_rs_query.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_rs_query.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_ws_query.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_ws_query.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/parser.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/parser.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/protocol.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/protocol.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/query.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/query.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/singletons.c#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/singletons.h#15 edit .. //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/startup/cached#10 edit .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/_pthread_stubs.c#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/ftw.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/getcap.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/pwcache.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gmon/moncontrol.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isalnum.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isalpha.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isblank.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/iscntrl.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isdigit.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isgraph.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/islower.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isprint.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/ispunct.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isspace.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isupper.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isxdigit.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/tolower.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/toupper.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/if_indextoname.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/inet6_opt_init.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/name6.c#7 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/nscachedcli.c#8 edit .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/nsdispatch.c#12 edit .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/posix1e/acl_get_entry.3#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/posix1e/posix1e.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/rpc/publickey.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/rpc/rpc_clnt_create.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/rpc/rpc_svc_calls.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/stdio/getc.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/stdio/getwc.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/stdlib/malloc.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/string/memmem.3#2 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/Makefile.inc#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/clock_gettime.2#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/intro.2#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/kse.2#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/mmap.2#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/mq.c#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/nfssvc.2#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/read.2#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/recv.2#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/sendfile.2#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/sigqueue.2#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/sigwait.2#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/sigwaitinfo.2#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/timer_create.2#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/timer_delete.2#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/timer_settime.2#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/wait.2#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/sys/write.2#4 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/uuid/uuid.3#3 integrate .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/xdr/xdr.3#3 integrate Differences ... ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/Makefile#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/Makefile#16 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agent.c#8 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agent.h#8 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/Makefile.inc#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/group.c#8 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/group.h#8 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/hosts.c#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/hosts.h#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/passwd.c#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/passwd.h#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/services.c#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/agents/services.h#11 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.8#15 (text+ko) ==== @@ -32,6 +32,8 @@ .Sh SYNOPSIS .Nm .Op Fl nst +.Op Fl i Ar cachename +.Op Fl I Ar cachename .Sh DESCRIPTION .Nm - is the system caching daemon. @@ -97,6 +99,38 @@ and .Fl s flags for debugging purposes. +.It Fl i Ar cachename +Invalidates personal cache. When specified, +.Nm +acts as the administration tool. It asks the already +running +.Nm +to invalidate the specified part of the cache of the +calling user. For example, you may want sometimes +to invalidate your +.Pa hosts +cache. You can specify +.Pa all +as the +.Pa cachename +to invalidate your personal cache as a whole. You +can't use this option for the cachename, for which +the +.Pa perform-actual-lookups +option is enabled. +.It Fl I Ar cachename +Invalidates the cache for every user. When specified, +.Nm +acts as the administration tool. It asks the already +running +.Nm +to invalidate the specified part of the cache for +every user. You can specify +.Pa all +as the +.Pa cachename +to invalidate the whole cache. Only root can use this +option. .El .Sh FILES .Xr cached.conf 5 @@ -109,4 +143,4 @@ .Aq bushman@rsu.ru .Sh "BUGS" To report bugs or suggestions please mail me -.Aq bushman@rsu.ru. +.Aq bushman@rsu.ru ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.conf#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cached.conf.5#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cachelib.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cachelib.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cacheplcs.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/cacheplcs.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/config.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/config.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/debug.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/debug.h#15 (text+ko) ==== @@ -30,7 +30,8 @@ #define TRACE_WANTED 32 -#ifndef NDEBUG +/*#ifndef NDEBUG*/ +#if 0 #define TRACE_IN(x) __trace_in(#x, __FILE__, __LINE__) #define TRACE_POINT() __trace_point(__FILE__, __LINE__) #define TRACE_MSG(x) __trace_msg(x, __FILE__, __LINE__) ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/hashtable.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/log.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/log.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_rs_query.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_rs_query.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_ws_query.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/mp_ws_query.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/parser.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/parser.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/protocol.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/protocol.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/query.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/query.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/singletons.c#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/cached/singletons.h#15 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/release/cached-0.2/startup/cached#10 (text+ko) ==== ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/_pthread_stubs.c#3 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/lib/libc/gen/_pthread_stubs.c,v 1.11 2004/07/29 18:07:08 kan Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/gen/_pthread_stubs.c,v 1.12 2005/11/12 16:00:29 deischen Exp $"); #include <signal.h> #include <pthread.h> @@ -97,8 +97,8 @@ #define FUNC_EXP(name) __CONCAT(name, _exp) #define STUB_FUNC(name, idx, ret) \ - static ret FUNC_EXP(name)(void) __used; \ - static ret FUNC_INT(name)(void) __used; \ + static ret FUNC_EXP(name)(void) __used; \ + static ret FUNC_INT(name)(void) __used; \ WEAK_REF(FUNC_EXP(name), name); \ WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \ typedef ret (*FUNC_TYPE(name))(void); \ @@ -176,7 +176,7 @@ STUB_FUNC1(pthread_cond_destroy, PJT_COND_DESTROY, int, void *) STUB_FUNC2(pthread_cond_init, PJT_COND_INIT, int, void *, void *) STUB_FUNC1(pthread_cond_signal, PJT_COND_SIGNAL, int, void *) -STUB_FUNC1(pthread_cond_wait, PJT_COND_WAIT, int, void *) +STUB_FUNC2(pthread_cond_wait, PJT_COND_WAIT, int, void *, void *) STUB_FUNC1(pthread_getspecific, PJT_GETSPECIFIC, void *, pthread_key_t) STUB_FUNC2(pthread_key_create, PJT_KEY_CREATE, int, void *, void *) STUB_FUNC1(pthread_key_delete, PJT_KEY_DELETE, int, pthread_key_t) ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/ftw.3#3 (text+ko) ==== @@ -18,7 +18,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.\" $FreeBSD: src/lib/libc/gen/ftw.3,v 1.2 2004/07/07 20:11:35 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/ftw.3,v 1.3 2005/11/23 15:41:36 ru Exp $ .\" .Dd July 5, 2004 .Dt FTW 3 @@ -37,7 +37,7 @@ .Ft int .Fo nftw .Fa "const char *path" -.Fa "int \*[lp]*fn\*[rp]\*[lp](const char *, const struct stat *, int, struct FTW *\*[rp]" +.Fa "int \*[lp]*fn\*[rp]\*[lp]const char *, const struct stat *, int, struct FTW *\*[rp]" .Fa "int maxfds" .Fa "int flags" .Fc ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/getcap.3#3 (text+ko) ==== @@ -33,9 +33,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)getcap.3 8.4 (Berkeley) 5/13/94 -.\" $FreeBSD: src/lib/libc/gen/getcap.3,v 1.27 2005/02/13 23:45:46 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/getcap.3,v 1.28 2005/11/23 15:44:42 ru Exp $ .\" -.Dd May 13, 1994 +.Dd March 22, 2002 .Dt GETCAP 3 .Os .Sh NAME @@ -55,19 +55,19 @@ .Sh SYNOPSIS .In stdlib.h .Ft int -.Fn cgetent "char **buf" "char **db_array" "char *name" +.Fn cgetent "char **buf" "char **db_array" "const char *name" .Ft int -.Fn cgetset "char *ent" +.Fn cgetset "const char *ent" .Ft int -.Fn cgetmatch "char *buf" "char *name" +.Fn cgetmatch "const char *buf" "const char *name" .Ft char * -.Fn cgetcap "char *buf" "char *cap" "int type" +.Fn cgetcap "char *buf" "const char *cap" "int type" .Ft int -.Fn cgetnum "char *buf" "char *cap" "long *num" +.Fn cgetnum "char *buf" "const char *cap" "long *num" .Ft int -.Fn cgetstr "char *buf" "char *cap" "char **str" +.Fn cgetstr "char *buf" "const char *cap" "char **str" .Ft int -.Fn cgetustr "char *buf" "char *cap" "char **str" +.Fn cgetustr "char *buf" "const char *cap" "char **str" .Ft int .Fn cgetfirst "char **buf" "char **db_array" .Ft int ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gen/pwcache.3#3 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)pwcache.3 8.1 (Berkeley) 6/9/93 -.\" $FreeBSD: src/lib/libc/gen/pwcache.3,v 1.12 2002/03/22 02:35:47 imp Exp $ +.\" $FreeBSD: src/lib/libc/gen/pwcache.3,v 1.13 2005/11/23 15:44:42 ru Exp $ .\" -.Dd June 9, 1993 +.Dd Dd March 22, 2002 .Dt PWCACHE 3 .Os .Sh NAME @@ -43,10 +43,10 @@ .Sh SYNOPSIS .In pwd.h .Ft const char * -.Fn user_from_uid "unsigned long uid" "int nouser" +.Fn user_from_uid "uid_t uid" "int nouser" .In grp.h .Ft const char * -.Fn group_from_gid "unsigned long gid" "int nogroup" +.Fn group_from_gid "gid_t gid" "int nogroup" .Sh DESCRIPTION The .Fn user_from_uid ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/gmon/moncontrol.3#3 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)moncontrol.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/gmon/moncontrol.3,v 1.15 2004/06/14 18:41:24 bms Exp $ +.\" $FreeBSD: src/lib/libc/gmon/moncontrol.3,v 1.16 2005/11/23 15:55:38 ru Exp $ .\" .Dd June 14, 2004 .Dt MONCONTROL 3 @@ -44,10 +44,10 @@ .Sh SYNOPSIS .In sys/types.h .In sys/gmon.h -.Ft int +.Ft void .Fn moncontrol "int mode" -.Ft int -.Fn monstartup "u_long *lowpc" "u_long *highpc" +.Ft void +.Fn monstartup "u_long lowpc" "u_long highpc" .Sh DESCRIPTION An executable program compiled using the .Fl pg ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isalnum.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalnum.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isalnum.3,v 1.20 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isalnum.3,v 1.21 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISALNUM 3 @@ -57,7 +57,7 @@ .Xr isdigit 3 is true. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isalpha.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalpha.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isalpha.3,v 1.19 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isalpha.3,v 1.20 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISALPHA 3 @@ -57,7 +57,7 @@ .Xr islower 3 is true. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isblank.3#4 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isblank.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isblank.3,v 1.21 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isblank.3,v 1.22 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISBLANK 3 @@ -58,7 +58,7 @@ .Fn isblank successful test is limited to this characters only. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Sh RETURN VALUES ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/iscntrl.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)iscntrl.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/iscntrl.3,v 1.18 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/iscntrl.3,v 1.19 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISCNTRL 3 @@ -53,7 +53,7 @@ .Fn iscntrl function tests for any control character. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isdigit.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isdigit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isdigit.3,v 1.20 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isdigit.3,v 1.21 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISDIGIT 3 @@ -69,7 +69,7 @@ setting. .Pp The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Sh RETURN VALUES ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isgraph.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isgraph.3 8.2 (Berkeley) 12/11/93 -.\" $FreeBSD: src/lib/libc/locale/isgraph.3,v 1.20 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isgraph.3,v 1.21 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISGRAPH 3 @@ -56,7 +56,7 @@ and other locale specific space-like characters. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/islower.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)islower.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/islower.3,v 1.18 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/islower.3,v 1.19 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISLOWER 3 @@ -53,7 +53,7 @@ .Fn islower function tests for any lower-case letters. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isprint.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isprint.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isprint.3,v 1.21 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isprint.3,v 1.22 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISPRINT 3 @@ -54,7 +54,7 @@ function tests for any printing character including space .Pq Ql "\ " . The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/ispunct.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)ispunct.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/ispunct.3,v 1.19 2005/07/17 04:11:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/ispunct.3,v 1.20 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISPUNCT 3 @@ -58,7 +58,7 @@ .Xr isalnum 3 is true. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isspace.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isspace.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isspace.3,v 1.18 2005/07/17 04:11:06 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isspace.3,v 1.19 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISSPACE 3 @@ -62,7 +62,7 @@ .Fn isspace successful test is limited to this characters only. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Sh RETURN VALUES ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isupper.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isupper.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isupper.3,v 1.19 2005/07/17 04:11:06 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isupper.3,v 1.20 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISUPPER 3 @@ -53,7 +53,7 @@ .Fn isupper function tests for any upper-case letter. The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Pp ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/isxdigit.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)isxdigit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isxdigit.3,v 1.21 2005/07/17 04:11:06 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isxdigit.3,v 1.22 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt ISXDIGIT 3 @@ -72,7 +72,7 @@ depending on the current locale setting. .Pp The value of the argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Sh RETURN VALUES ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/tolower.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)tolower.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/tolower.3,v 1.17 2005/07/17 03:37:00 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/tolower.3,v 1.18 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt TOLOWER 3 @@ -54,7 +54,7 @@ function converts an upper-case letter to the corresponding lower-case letter. The argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Sh RETURN VALUES ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/locale/toupper.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)toupper.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/toupper.3,v 1.17 2005/07/17 03:37:00 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/toupper.3,v 1.18 2005/11/17 12:59:59 ru Exp $ .\" .Dd July 17, 2005 .Dt TOUPPER 3 @@ -54,7 +54,7 @@ function converts a lower-case letter to the corresponding upper-case letter. The argument must be representable as an -.Vt unsigned char +.Vt "unsigned char" or the value of .Dv EOF . .Sh RETURN VALUES ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/if_indextoname.3#3 (text+ko) ==== @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/net/if_indextoname.3,v 1.10 2003/09/08 19:57:14 ru Exp $ +.\" $FreeBSD: src/lib/libc/net/if_indextoname.3,v 1.11 2005/11/23 10:49:07 ru Exp $ .\" -.Dd July 15, 2002 +.Dd November 23, 2005 .Dt IF_NAMETOINDEX 3 .Os .Sh NAME @@ -34,6 +34,8 @@ .Nm if_freenameindex .Nd provide mappings between interface names and indexes .Sh SYNOPSIS +.In sys/types.h +.In sys/socket.h .In net/if.h .Ft "unsigned int" .Fn if_nametoindex "const char *ifname" ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/inet6_opt_init.3#3 (text+ko) ==== @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/net/inet6_opt_init.3,v 1.9 2005/01/24 18:14:18 ru Exp $ +.\" $FreeBSD: src/lib/libc/net/inet6_opt_init.3,v 1.10 2005/11/23 16:07:54 ru Exp $ .\" .Dd December 23, 2004 .Dt INET6_OPT_INIT 3 @@ -58,7 +58,7 @@ .Ft "int" .Fn inet6_opt_find "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t type" "socklen_t *lenp" "void **databufp" .Ft "int" -.Fn inet6_opt_get_val "void *databuf" "socklen_t offset" "void *val" "socklen_t vallen" +.Fn inet6_opt_get_val "void *databuf" "int offset" "void *val" "socklen_t vallen" .\" .Sh DESCRIPTION Building and parsing the Hop-by-Hop and Destination options is ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/name6.c#7 (text+ko) ==== @@ -88,7 +88,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/lib/libc/net/name6.c,v 1.54 2005/05/27 20:44:57 ume Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/net/name6.c,v 1.55 2005/11/15 03:40:15 ume Exp $"); #include "namespace.h" #ifdef ICMPNL @@ -121,6 +121,7 @@ #include <unistd.h> #include "un-namespace.h" #include "netdb_private.h" +#include "res_config.h" #ifndef _PATH_HOSTS #define _PATH_HOSTS "/etc/hosts" ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/nscachedcli.c#8 (text+ko) ==== @@ -48,7 +48,7 @@ /* * safe_write writes data to the specified connection and tries to do it in * the very safe manner. We ensure, that we can write to the socket with - * kevent. If the data_size can't be send in one piece, then it would be + * kevent. If the data_size can't be sent in one piece, then it would be * splitted. */ static int @@ -413,6 +413,9 @@ return (retval); } +/* + * Adds new portion of data to the opened write session + */ int cached_mp_write(struct cached_connection_ *ws, const char *data, size_t data_size) @@ -443,6 +446,10 @@ return (error_code); } +/* + * Abandons all operations with the write session. All data, that were written + * to the session before, are discarded. + */ int abandon_cached_mp_write_session(struct cached_connection_ *ws) { @@ -455,6 +462,10 @@ return (result); } +/* + * Gracefully closes the write session. The data, that were previously written + * to the session, are committed. + */ int close_cached_mp_write_session(struct cached_connection_ *ws) { ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/nsdispatch.c#12 (text+ko) ==== @@ -684,8 +684,7 @@ #ifdef NS_CACHING if ((cache_data_p != NULL) && - (result & (NS_TERMINATE | NS_NOTFOUND)) && - (cache_flag == 0)) { + (result & NS_NOTFOUND) && (cache_flag == 0)) { va_start(ap, defaults); if (result == NS_SUCCESS) { if (cache_data.info->id_func != NULL) @@ -694,7 +693,7 @@ else if (cache_data.info->marshal_func != NULL) nss_mp_cache_write(retval, cache_data_p, ap); - } else if ((result == NS_RETURN) || (result == NS_NOTFOUND)) { + } else if (result == NS_NOTFOUND) { if (cache_data.info->id_func == NULL) { if (cache_data.info->marshal_func != NULL) nss_mp_cache_write_submit(retval, ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/posix1e/acl_get_entry.3#4 (text+ko) ==== @@ -23,7 +23,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/posix1e/acl_get_entry.3,v 1.8 2005/07/31 03:30:44 keramida Exp $ +.\" $FreeBSD: src/lib/libc/posix1e/acl_get_entry.3,v 1.9 2005/11/17 12:59:59 ru Exp $ .\" .Dd April 13, 2001 .Dt ACL_GET_ENTRY 3 @@ -79,7 +79,7 @@ .Sh RETURN VALUES If the .Fn acl_get_entry -function successfuly obtains an ACL entry, a value of 1 is returned. +function successfully obtains an ACL entry, a value of 1 is returned. If the ACL has no ACL entries, the .Fn acl_get_entry returns a value of 0. ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/posix1e/posix1e.3#3 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/posix1e/posix1e.3,v 1.26 2002/12/13 16:53:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/posix1e/posix1e.3,v 1.27 2005/11/23 16:24:39 ru Exp $ .\" .Dd January 17, 2000 .Dt POSIX1E 3 @@ -37,7 +37,7 @@ .In sys/types.h .In sys/acl.h .\" .In sys/audit.h -.In sys/capability.h +.\" .In sys/capability.h .In sys/mac.h .Sh DESCRIPTION The IEEE POSIX.1e specification never left draft form, but the interfaces ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/rpc/publickey.3#3 (text+ko) ==== @@ -1,5 +1,5 @@ .\" @(#)publickey.3r 2.1 88/08/07 4.0 RPCSRC -.\" $FreeBSD: src/lib/libc/rpc/publickey.3,v 1.7 2002/12/18 12:45:10 ru Exp $ +.\" $FreeBSD: src/lib/libc/rpc/publickey.3,v 1.8 2005/11/23 16:44:23 ru Exp $ .\" .Dd October 6, 1987 .Dt PUBLICKEY 3 @@ -14,7 +14,7 @@ .In rpc/key_prot.h .Ft int .Fo getpublickey -.Fa "char netname[MAXNETNAMELEN+1]" +.Fa "const char netname[MAXNETNAMELEN+1]" .Fa "char publickey[HEXKEYBYTES+1]" .Fc .Ft int ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/rpc/rpc_clnt_create.3#3 (text+ko) ==== @@ -3,7 +3,7 @@ .\" @(#)rpc_clnt_create 1.5 89/07/24 SMI; .\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved. .\" $NetBSD: rpc_clnt_create.3,v 1.2 2000/06/20 00:53:08 fvdl Exp $ -.\" $FreeBSD: src/lib/libc/rpc/rpc_clnt_create.3,v 1.13 2005/02/13 22:25:12 ru Exp $ +.\" $FreeBSD: src/lib/libc/rpc/rpc_clnt_create.3,v 1.14 2005/11/23 16:44:23 ru Exp $ .Dd May 7, 1993 .Dt RPC_CLNT_CREATE 3 .Os @@ -40,7 +40,7 @@ .Ft "CLIENT *" .Fn clnt_create_vers "const char * host" "const rpcprog_t prognum" "rpcvers_t *vers_outp" "const rpcvers_t vers_low" "const rpcvers_t vers_high" "const char *nettype" .Ft "CLIENT *" -.Fn clnt_create_vers_timed "const char * host" "const rpcprog_t prognum" "rpcvers_t *vers_outp" "const rpcvers_t vers_low" "const rpcvers_t vers_high" "char *nettype" "const struct timeval *timeout" +.Fn clnt_create_vers_timed "const char * host" "const rpcprog_t prognum" "rpcvers_t *vers_outp" "const rpcvers_t vers_low" "const rpcvers_t vers_high" "const char *nettype" "const struct timeval *timeout" .Ft void .Fn clnt_destroy "CLIENT *clnt" .Ft "CLIENT *" @@ -52,7 +52,7 @@ .Ft "CLIENT *" .Fn clnt_raw_create "const rpcprog_t prognum" "const rpcvers_t versnum" .Ft "CLIENT *" -.Fn clnt_tli_create "const int fildes" "const struct netconfig *netconf" "const struct netbuf *svcaddr" "const rpcprog_t prognum" "const rpcvers_t versnum" "const u_int sendsz" "const u_int recvsz" +.Fn clnt_tli_create "const int fildes" "const struct netconfig *netconf" "struct netbuf *svcaddr" "const rpcprog_t prognum" "const rpcvers_t versnum" "const u_int sendsz" "const u_int recvsz" .Ft "CLIENT *" .Fn clnt_tp_create "const char * host" "const rpcprog_t prognum" "const rpcvers_t versnum" "const struct netconfig *netconf" .Ft "CLIENT *" ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/rpc/rpc_svc_calls.3#3 (text+ko) ==== @@ -3,7 +3,7 @@ .\" @(#)rpc_svc_calls 1.5 89/07/25 SMI; .\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved. .\" $NetBSD: rpc_svc_calls.3,v 1.1 2000/06/02 23:11:13 fvdl Exp $ -.\" $FreeBSD: src/lib/libc/rpc/rpc_svc_calls.3,v 1.9 2005/02/09 18:03:14 ru Exp $ +.\" $FreeBSD: src/lib/libc/rpc/rpc_svc_calls.3,v 1.10 2005/11/23 16:44:23 ru Exp $ .Dd May 3, 1993 .Dt RPC_SVC_CALLS 3 .Os @@ -47,7 +47,7 @@ .Ft void .Fn svc_run "void" .Ft bool_t -.Fn svc_sendreply "SVCXPRT *xprt" "xdrproc_t outproc" "char *out" +.Fn svc_sendreply "SVCXPRT *xprt" "xdrproc_t outproc" "void *out" .Sh DESCRIPTION These routines are part of the RPC ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/stdio/getc.3#3 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)getc.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdio/getc.3,v 1.19 2004/03/17 12:37:28 tjr Exp $ +.\" $FreeBSD: src/lib/libc/stdio/getc.3,v 1.20 2005/11/23 20:26:58 ru Exp $ .\" .Dd January 10, 2003 .Dt GETC 3 @@ -58,7 +58,7 @@ .Ft int .Fn getc_unlocked "FILE *stream" .Ft int -.Fn getchar +.Fn getchar void .Ft int .Fn getchar_unlocked "void" .Ft int ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/stdio/getwc.3#3 (text+ko) ==== @@ -36,7 +36,7 @@ >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511291453.jATErBAu003470>