Package: manpages
Version: 2.63-1
Severity: minor
Tags: patch
Hello,
Here are various typos which I checked are still present in 2.65.
(manpages_typos.patch)
I also have a question in madvise.2, I don't understand "return file" in:
Free up a given range of pages and its associated backing store.
Currently, only shmfs/tmpfs supports this; other filesystems return file
with the error ENOSYS.
Is it a typo or is my English more broken than I think?
Also, in spu_create.2:
Shouldn't "file handler" be a "file descriptor" instead? (or is this
equivalent?)
Thanks in advance,
--
Nekral
diff -rauN ../orig/manpages-2.63/man2/pciconfig_read.2 manpages-2.63/man2/pciconfig_read.2
--- ../orig/manpages-2.63/man2/pciconfig_read.2 2007-09-06 01:07:40.000000000 +0200
+++ manpages-2.63/man2/pciconfig_read.2 2007-09-28 20:23:08.000000000 +0200
@@ -55,7 +55,7 @@
.BR pciconfig_read ()
On success zero is returned.
On error, \-1 is returned and
-,I errno
+.I errno
is set appropriately.
.TP
.BR pciconfig_write ()
diff -rauN ../orig/manpages-2.63/man2/ptrace.2 manpages-2.63/man2/ptrace.2
--- ../orig/manpages-2.63/man2/ptrace.2 2007-09-06 01:07:18.000000000 +0200
+++ manpages-2.63/man2/ptrace.2 2007-09-28 20:27:36.000000000 +0200
@@ -131,7 +131,7 @@
.I addr
in the child's USER area,
which holds the registers and other information about the process
-(see \fI<linux/user.h>\fP and <sys/user.h>).
+(see \fI<linux/user.h>\fP and \fI<sys/user.h>\fP).
The word is returned as the result of the
.BR ptrace ()
call.
@@ -146,7 +146,7 @@
in the child's memory.
As above, the two requests are currently equivalent.
.TP
-.B PTRACE_POKEUSR
+.B PTRACE_POKEUSER
Copies the word
.IR data
to offset
@@ -169,7 +169,7 @@
from the child to location \fIdata\fP in the parent.
(\fIaddr\fP is ignored.)
.TP
-.BR PTRACE_SETREGS " , " PTRACE_SETFPREGS
+.BR PTRACE_SETREGS ", " PTRACE_SETFPREGS
Copies the child's general purpose or floating-point registers,
respectively, from location \fIdata\fP in the parent.
As for
@@ -325,7 +325,7 @@
the system call at the second stop.
(\fIaddr\fP is ignored.)
.TP
-.BR PTRACE_SYSEMU " , " PTRACE_SYSEMU_SINGLESTEP " (since Linux 2.6.14)"
+.BR PTRACE_SYSEMU ", " PTRACE_SYSEMU_SINGLESTEP " (since Linux 2.6.14)"
For
.BR PTRACE_SYSEMU ,
continue and stop on entry to the next syscall,
diff -rauN ../orig/manpages-2.63/man2/sigaction.2 manpages-2.63/man2/sigaction.2
--- ../orig/manpages-2.63/man2/sigaction.2 2007-09-06 01:11:36.000000000 +0200
+++ manpages-2.63/man2/sigaction.2 2007-09-28 20:32:09.000000000 +0200
@@ -265,7 +265,7 @@
.I si_code
is a value (not a bit mask)
indicating why this signal was sent.
-The following list shows the values can be placed in
+The following list shows the values which can be placed in
.I si_code
for any signal, along with reason that the signal was generated.
.RS 4
@@ -304,7 +304,7 @@
.\" through to 2.5.24 and then was backed out.
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGILL
@@ -336,7 +336,7 @@
internal stack error
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGFPE
@@ -368,7 +368,7 @@
subscript out of range
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGSEGV
@@ -382,7 +382,7 @@
invalid permissions for mapped object
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGBUS
@@ -399,7 +399,7 @@
object specific hardware error
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGTRAP
@@ -413,7 +413,7 @@
process trace trap
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGILL
@@ -439,7 +439,7 @@
stopped child has continued (since Linux 2.6.9)
.RE
.PP
-The following values can be place in
+The following values can be placed in
.I si_code
for a
.B SIGPOLL
diff -rauN ../orig/manpages-2.63/man3/setaliasent.3 manpages-2.63/man3/setaliasent.3
--- ../orig/manpages-2.63/man3/setaliasent.3 2007-07-29 08:21:37.000000000 +0200
+++ manpages-2.63/man3/setaliasent.3 2007-09-28 20:40:13.000000000 +0200
@@ -74,7 +74,7 @@
.nf
struct aliasent {
- char *alias_name; /* alias name */
+ char *alias_name; /* alias name */
size_t alias_members_len;
char **alias_members; /* alias name list */
int alias_local;
diff -rauN ../orig/manpages-2.63/man5/locale.5 manpages-2.63/man5/locale.5
--- ../orig/manpages-2.63/man5/locale.5 2007-06-23 09:28:46.000000000 +0200
+++ manpages-2.63/man5/locale.5 2007-09-28 20:47:23.000000000 +0200
@@ -351,7 +351,7 @@
.I currency_symbol
or
.I int_curr_symbol
- should precede the formatted monetary quantity or set to
+should precede the formatted monetary quantity or set to
.B 0
if the symbol succeeds the value.
.TP
diff -rauN ../orig/manpages-2.63/man5/utmp.5 manpages-2.63/man5/utmp.5
--- ../orig/manpages-2.63/man5/utmp.5 2007-07-29 08:55:29.000000000 +0200
+++ manpages-2.63/man5/utmp.5 2007-09-28 20:53:56.000000000 +0200
@@ -94,12 +94,12 @@
int32_t tv_usec; /* Microseconds */
} ut_tv; /* Time entry was made */
#else
- long int ut_session; /* Session ID, used for windowing */
- struct timeval ut_tv; /* Time entry was made */
+ long int ut_session; /* Session ID, used for windowing */
+ struct timeval ut_tv; /* Time entry was made */
#endif
- int32_t ut_addr_v6[4]; /* IP address of remote host */
- char __unused[20]; /* Reserved for future use */
+ int32_t ut_addr_v6[4]; /* IP address of remote host */
+ char __unused[20]; /* Reserved for future use */
};
/* Backwards compatibility hacks. */
diff -rauN ../orig/manpages-2.63/man7/epoll.7 manpages-2.63/man7/epoll.7
--- ../orig/manpages-2.63/man7/epoll.7 2007-07-29 08:18:38.000000000 +0200
+++ manpages-2.63/man7/epoll.7 2007-09-28 20:57:09.000000000 +0200
@@ -334,7 +334,7 @@
returns a lower number of bytes,
you can be sure of having exhausted the read
I/O space for such file descriptor.
-The same is true when writing using the
+The same is true when writing using
.BR write (2).
.SS Possible Pitfalls and Ways to Avoid Them
.TP
diff -rauN ../orig/manpages-2.63/man7/posixoptions.7 manpages-2.63/man7/posixoptions.7
--- ../orig/manpages-2.63/man7/posixoptions.7 2007-07-24 16:18:48.000000000 +0200
+++ manpages-2.63/man7/posixoptions.7 2007-09-28 21:07:16.000000000 +0200
@@ -25,7 +25,7 @@
posixoptions \- optional parts of the POSIX standard
.SH DESCRIPTION
The POSIX standard (the information below is from POSIX.1-2001)
-describes a set of behavior and interfaces for a compliant system.
+describes a set of behaviors and interfaces for a compliant system.
However, many interfaces are optional and there are feature test macros
to test the availability of interfaces at compile time, and functions
.BR sysconf (3),
diff -rauN ../orig/manpages-2.63/man7/signal.7 manpages-2.63/man7/signal.7
--- ../orig/manpages-2.63/man7/signal.7 2007-09-06 01:07:55.000000000 +0200
+++ manpages-2.63/man7/signal.7 2007-09-28 21:16:21.000000000 +0200
@@ -66,7 +66,7 @@
or (less portably)
.BR signal (2).
Using these system calls, a process can elect one of the
-following behavior to occur on delivery of the signal:
+following behaviors to occur on delivery of the signal:
perform the default action; ignore the signal;
or catch the signal with a
.IR "signal handler" ,
diff -rauN ../orig/manpages-2.63/man7/socket.7 manpages-2.63/man7/socket.7
--- ../orig/manpages-2.63/man7/socket.7 2007-09-06 01:08:01.000000000 +0200
+++ manpages-2.63/man7/socket.7 2007-09-28 21:17:30.000000000 +0200
@@ -373,7 +373,7 @@
sysctl.
The minimum (doubled) value for this option is 256.
.TP
-.BR SO_SNDBUFFORCE " (since Linux 2.6.14")
+.BR SO_SNDBUFFORCE " (since Linux 2.6.14)"
Using this socket option, a privileged
.RB ( CAP_NET_ADMIN )
process can perform the same task as
diff -rauN ../orig/manpages-2.63/man7/spufs.7 manpages-2.63/man7/spufs.7
--- ../orig/manpages-2.63/man7/spufs.7 2007-09-06 01:07:55.000000000 +0200
+++ manpages-2.63/man7/spufs.7 2007-09-28 21:18:25.000000000 +0200
@@ -350,7 +350,7 @@
.B /fpcr
This file provides access to the Floating Point Status and
Control Register as a four-byte file.
-The operations on the
+The possible operations on the
.I fpcr
file are:
.RS
diff -rauN ../orig/manpages-2.63/man7/tcp.7 manpages-2.63/man7/tcp.7
--- ../orig/manpages-2.63/man7/tcp.7 2007-07-29 08:55:58.000000000 +0200
+++ manpages-2.63/man7/tcp.7 2007-09-28 21:19:48.000000000 +0200
@@ -828,7 +828,7 @@
.B SIOCOUTQ
Returns the amount of unsent data in the socket send queue.
The socket must not be in LISTEN state, otherwise an error
-.BR ( EINVAL )
+.RB ( EINVAL )
is returned.
.SS Error Handling
When a network error occurs, TCP tries to resend the packet.
--- ../orig/manpages-2.63/man5/proc.5 2007-09-06 01:12:32.000000000 +0200
+++ manpages-2.63/man5/proc.5 2007-09-28 20:53:09.000000000 +0200
@@ -863,7 +863,7 @@
apart from debugging.
The 'sl' value is the kernel hash slot for the
socket,
-the 'local address' is the local address and protocol number pair."St" is
+the 'local_address' is the local address and protocol number pair. "St" is
the internal status of the socket.
The "tx_queue" and "rx_queue" are the
outgoing and incoming data queue in terms of kernel memory usage.
@@ -885,8 +885,8 @@
Much of the information is not
of use apart from debugging.
The "sl" value is the kernel hash slot
-for the socket, the "local address" is the local address and port number pair.
-The "remote address" is the remote address and port number pair
+for the socket, the "local_address" is the local address and port number pair.
+The "rem_address" is the remote address and port number pair
(if connected). 'St' is the internal status of the socket.
The 'tx_queue' and 'rx_queue' are the
outgoing and incoming data queue in terms of kernel memory usage.
@@ -900,8 +900,8 @@
Much of the information is not of
use apart from debugging.
The "sl" value is the kernel hash slot for the
-socket, the "local address" is the local address and port number pair.
-The "remote address" is the remote address and port number pair
+socket, the "local_address" is the local address and port number pair.
+The "rem_address" is the remote address and port number pair
(if connected). "St" is the internal status of the socket.
The "tx_queue" and "rx_queue" are the outgoing and incoming data queue
in terms of kernel memory usage.
--- ../orig/manpages-2.63/man2/capget.2 2007-09-06 01:07:40.000000000 +0200
+++ manpages-2.63/man2/capget.2 2007-09-28 20:09:22.000000000 +0200
@@ -72,7 +72,7 @@
and set the
.I version
field of
-.I hdr
+.I hdrp
to
.B _LINUX_CAPABILITY_VERSION
when another version was specified.
@@ -80,7 +80,7 @@
The calls operate on the capabilities of the thread specified by the
.I pid
field of
-.I hdr
+.I hdrp
when that is non-zero, or on the capabilities of the calling thread if
.I pid
is 0.