- remove old/wrong patches

- fix tgkill/tkill man pages inconsistency
This commit is contained in:
Ivana Varekova 2006-12-08 12:08:28 +00:00
parent a0e906adc5
commit 684baa8854
2 changed files with 56 additions and 7 deletions

View File

@ -0,0 +1,49 @@
--- man-pages-2.39/man2/tkill.2.pom 2006-08-03 15:57:17.000000000 +0200
+++ man-pages-2.39/man2/tkill.2 2006-12-08 11:36:52.000000000 +0100
@@ -25,7 +25,7 @@
.\"
.TH TKILL 2 "2004-05-31" "Linux 2.6.6" "Linux Programmer's Manual"
.SH NAME
-tkill, tgkill \- send a signal to a single process
+tkill \- send a signal to a single process
.SH SYNOPSIS
.nf
.B #include <sys/types.h>
@@ -39,10 +39,6 @@
.sp
.B int tkill(int tid, int sig);
.sp
-.B "_syscall3(int, tgkill, int, tgid, int, tid, int, sig)"
- /* Using \fBsyscall\fP(2) may be preferable; see \fBintro\fP(2) */
-.sp
-.B int tgkill(int tgid, int tid, int sig);
.fi
.SH DESCRIPTION
The \fBtkill\fP() system call is analogous to
@@ -54,11 +50,6 @@
With \fBtkill\fP(), however, one can address each process
by its unique TID.
.PP
-The \fBtgkill\fP() call improves on \fBtkill\fP() by allowing the caller to
-specify the thread group ID of the thread to be signalled, protecting
-against TID reuse. If the tgid is specified as \-1, \fBtgkill\fP() degenerates
-into \fBtkill\fP().
-.PP
These are the raw system call interfaces, meant for internal
thread library use.
.SH "RETURN VALUE"
@@ -76,11 +67,11 @@
.B ESRCH
No process with the specified thread ID (and thread group ID) exists.
.SH "CONFORMING TO"
-\fBtkill\fP() and \fBtgkill\fP() are Linux specific and should not be used
+\fBtkill\fP() is Linux specific and should not be used
in programs that are intended to be portable.
.SH VERSIONS
\fBtkill\fP() is supported since Linux 2.4.19 / 2.5.4.
-\fBtgkill\fP() was added in Linux 2.5.75.
.SH "SEE ALSO"
.BR gettid (2),
-.BR kill (2)
+.BR kill (2),
+.BR tgkill (2)

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project.
Name: man-pages
Version: 2.43
Release: 1%{?dist}
Release: 2%{?dist}
License: distributable
Group: Documentation
Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2
@ -20,7 +20,6 @@ Patch3: man-pages-2.32-langinfo.patch
Patch4: man-pages-1.60-re_comp.patch
Patch8: man-pages-1.60-fs.patch
Patch9: man-pages-1.60-issue.patch
Patch12: man-pages-2.32-shm_hugetlb.patch
Patch16: man-pages-2.05-issue.patch
Patch19: man-pages-2.32-termcap.patch
Patch20: man-pages-2.13-aio.patch
@ -33,13 +32,12 @@ Patch28: man-pages-2.34-nscd.patch
Patch29: man-pages-2.34-getrlimit.patch
Patch30: man-pages-2.34-libaio-includes.patch
Patch31: man-pages-2.34-write.patch
Patch32: man-pages-2.34-wait16.patch
Patch33: man-pages-2.39-typo.patch
Patch34: man-pages-2.39-puned.patch
Patch35: man-pages-2.39-clone.patch
Patch36: man-pages-2.39-unimplemented.patch
Patch37: man-pages-2.41-mmap.patch
Patch38: man-pages-2.43-mount.patch
Patch39: man-pages-2.39-tgkill.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
Autoreq: false
@ -67,7 +65,6 @@ tar xzf %{SOURCE11}
%patch4 -p1
%patch8 -p1
%patch9 -p1
%patch12 -p1
%patch16 -p1
%patch19 -p1
%patch20 -p1
@ -80,13 +77,12 @@ tar xzf %{SOURCE11}
%patch29 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%build
@ -187,6 +183,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/en/man*
%changelog
* Fri Dec 8 2005 Ivana Varekova <varekova@redhat.com> 2.43-2
- remove old/wrong patches
- fix tgkill/tkill man pages inconsistency
* Fri Dec 1 2006 Ivana Varekova <varekova@redhat.com> 2.43-1
- update to 2.43
- fix mount.2 man page (#211608)