rpms/man-pages/devel man-pages-2.51-sched_setaffinity.patch, NONE, 1.1 man-pages-2.51-nscd-conf.patch, 1.1, 1.2 man-pages-2.51-typos.patch, 1.1, 1.2

Štěpán Kasal (kasal) fedora-extras-commits at redhat.com
Mon Jun 11 15:46:45 UTC 2007


Author: kasal

Update of /cvs/extras/rpms/man-pages/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22061

Modified Files:
	man-pages-2.51-nscd-conf.patch man-pages-2.51-typos.patch 
Added Files:
	man-pages-2.51-sched_setaffinity.patch 
Log Message:
Add proove to the top of my patches, to convince upstrem.


man-pages-2.51-sched_setaffinity.patch:

--- NEW FILE man-pages-2.51-sched_setaffinity.patch ---
2007-06-11  Stepan Kasal  <skasal at 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 );

man-pages-2.51-nscd-conf.patch:

Index: man-pages-2.51-nscd-conf.patch
===================================================================
RCS file: /cvs/extras/rpms/man-pages/devel/man-pages-2.51-nscd-conf.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- man-pages-2.51-nscd-conf.patch	4 Jun 2007 12:09:20 -0000	1.1
+++ man-pages-2.51-nscd-conf.patch	11 Jun 2007 15:46:40 -0000	1.2
@@ -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

man-pages-2.51-typos.patch:

Index: man-pages-2.51-typos.patch
===================================================================
RCS file: /cvs/extras/rpms/man-pages/devel/man-pages-2.51-typos.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- man-pages-2.51-typos.patch	4 Jun 2007 12:09:20 -0000	1.1
+++ man-pages-2.51-typos.patch	11 Jun 2007 15:46:40 -0000	1.2
@@ -1,4 +1,6 @@
-cacheing -> caching
+2007-06-11  Stepan Kasal  <skasal at 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




More information about the fedora-extras-commits mailing list