Add proove to the top of my patches, to convince upstrem.

This commit is contained in:
Štěpán Kasal 2007-06-11 15:46:40 +00:00
parent d1a3f1fc9b
commit 50b7d1c3b8
3 changed files with 61 additions and 2 deletions

View File

@ -1,4 +1,22 @@
Document max-db-size and auto-propagate.
Document max-db-size and auto-propagate in nscd.conf.
The code for nscd is available at:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/?cvsroot=glibc
The two new options are used in the default nscd.conf, introduced in
revisions 1.11 and 1.12. See:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd.conf.diff?r1=1.10&r2=1.12&cvsroot=glibc
See also the parser code for `nscd.conf', in `nscd/nscd_conf.c'.
To see how the max-db-size is used, grep `nscd/mem.c' for
`max_db_size'.
To se the actual usage of `auto-propagate', grep `nscd/pwdcache.c' and
`nscd/grpcache.c' for `propagate'.
A news entry where Ulrich Drepper announces the `auto-propagate'
option:
http://sourceware.org/ml/libc-alpha/2006-09/msg00065.html
diff -urpN man-pages-2.51.orig/man5/nscd.conf.5 man-pages-2.51/man5/nscd.conf.5
--- man-pages-2.51.orig/man5/nscd.conf.5 2007-05-11 20:38:22.000000000 +0200

View File

@ -0,0 +1,39 @@
2007-06-11 Stepan Kasal <skasal@redhat.com>
* man2/sched_setaffinity.2: Fix the type of cpusetsize.
The evolution of the second parameter of sched_{set,get}affinity() can
be watched here:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/posix/sched.h?cvsroot=glibc
When it was first introduced in glibc-2.3, it had type `unsigned long int' (rev 1.11.):
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/posix/sched.h.diff?r1=1.10&r2=1.11&cvsroot=glibc
For 2.3.2, the type was changed to `unsigned int' (rev 1.12):
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/posix/sched.h.diff?r1=1.11&r2=1.12&cvsroot=glibc
As the manual says, the parameter has disappeared in glibc-2.3.3 (rev. 1.13):
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/posix/sched.h.diff?r1=1.12&r2=1.13&cvsroot=glibc
When it was reintroduced in 2.3.4, it had type `size_t' (rev. 1.16):
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/posix/sched.h.diff?r1=1.15&r2=1.16&cvsroot=glibc
Since then (Mar 19, 2004), the interface has not changed.
diff -urpN man-pages-2.51.orig/man2/sched_setaffinity.2 man-pages-2.51/man2/sched_setaffinity.2
--- man-pages-2.51.orig/man2/sched_setaffinity.2 2007-04-13 00:42:49.000000000 +0200
+++ man-pages-2.51/man2/sched_setaffinity.2 2007-06-08 17:19:00.000000000 +0200
@@ -38,10 +38,10 @@ sched_setaffinity, sched_getaffinity, CP
.nf
.B #include <sched.h>
.sp
-.BI "int sched_setaffinity(pid_t " pid ", unsigned int " cpusetsize ,
+.BI "int sched_setaffinity(pid_t " pid ", size_t " cpusetsize ,
.BI " cpu_set_t *" mask );
.sp
-.BI "int sched_getaffinity(pid_t " pid ", unsigned int " cpusetsize ,
+.BI "int sched_getaffinity(pid_t " pid ", size_t " cpusetsize ,
.BI " cpu_set_t *" mask );
.sp
.BI "void CPU_CLR(int " cpu ", cpu_set_t *" set );

View File

@ -1,4 +1,6 @@
cacheing -> caching
2007-06-11 Stepan Kasal <skasal@redhat.com>
* man7/bootparam.7, man8/nscd.8: Fix typo: "cacheing" -> "caching".
diff -urpN man-pages-2.51.orig/man7/bootparam.7 man-pages-2.51/man7/bootparam.7
--- man-pages-2.51.orig/man7/bootparam.7 2007-05-05 00:53:16.000000000 +0200