Denis Barbier | 1 Jul 23:49 2010
Picon

Re: [PATCH] Fix ppoll example

On 2010/6/12 Michael Kerrisk wrote:
[...]
> --- a/man2/poll.2
> +++ b/man2/poll.2
[...]
>  <at>  <at>  -304,13 +304,15  <at>  <at>  is Linux-specific.
>  Some implementations define the nonstandard constant
>  .B INFTIM
>  with the value \-1 for use as a
> -.IR timeout .
> +.IR timeout
> +for
> +.BR poll ()..

Hi Michael,

There is a spurious trailing dot.

Denis
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Michael Kerrisk | 2 Jul 07:10 2010
Picon

Re: [PATCH] Fix ppoll example

Hello Denis

On Thu, Jul 1, 2010 at 11:49 PM, Denis Barbier <bouzim@...> wrote:
> On 2010/6/12 Michael Kerrisk wrote:
> [...]
>> --- a/man2/poll.2
>> +++ b/man2/poll.2
> [...]
>>  <at>  <at>  -304,13 +304,15  <at>  <at>  is Linux-specific.
>>  Some implementations define the nonstandard constant
>>  .B INFTIM
>>  with the value \-1 for use as a
>> -.IR timeout .
>> +.IR timeout
>> +for
>> +.BR poll ()..
>
> Hi Michael,
>
> There is a spurious trailing dot.

Thanks. Fixed now.

Cheers,

Michael

--

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
(Continue reading)

Denis Barbier | 2 Jul 09:00 2010
Picon

Re: [PATCH] armscii-8.7, cp1251.7, iso_8859-3.7, iso_8859-5.7, iso_8859-6.7, iso_8859-8.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, koi8-u.7: Fix decimal values in encoding tables

On 2010/1/18 I wrote:
[...]
> Octal and hexadecimal values are right, but there are some off-by one
> errors in decimal values.  Correct values are printed by this command:
>
>  perl -pi -e 'if (s/^([0-7]+)\t([0-9]+)\t([0-9a-fA-F]+)//)
>    {printf "%03o\t%d\t%s", hex($3), hex($3), $3;};' man7/*.7
> ---
>  man7/armscii-8.7   |   70 +++++++++++++++++++++++++-------------------------
>  man7/cp1251.7      |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-10.7 |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-11.7 |   58 +++++++++++++++++++++---------------------
>  man7/iso_8859-13.7 |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-14.7 |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-3.7  |   68 ++++++++++++++++++++++++------------------------
>  man7/iso_8859-5.7  |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-6.7  |   38 +++++++++++++-------------
>  man7/iso_8859-8.7  |   60 +++++++++++++++++++++---------------------
>  man7/koi8-u.7      |   72 ++++++++++++++++++++++++++--------------------------
>  11 files changed, 363 insertions(+), 363 deletions(-)
[...]

Hi,

Please consider applying this patch, it fixes off-by-one errors in
tables of various charsets.

Denis
(Continue reading)

Peng Haitao | 2 Jul 11:03 2010

[PATCH] a64l.3: Fix a function name mixup: s/a64l/l64a/

Hi Michael,

Signed-off-by: Peng Haitao <penght@...>
---
 man3/a64l.3 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/a64l.3 b/man3/a64l.3
index dbcb897..f0d7d64 100644
--- a/man3/a64l.3
+++ b/man3/a64l.3
 <at>  <at>  -3,7 +3,7  <at>  <at> 
 .\"
 .\" Corrected, aeb, 2002-05-30
 .\"
-.TH A64L 3 2007-07-26 "" "Linux Programmer's Manual"
+.TH A64L 3 2010-07-02 "" "Linux Programmer's Manual"
 .SH NAME
 a64l, l64a \- convert between long and base-64
 .SH SYNOPSIS
 <at>  <at>  -54,7 +54,7  <at>  <at>  So 123 = 59*64^0 + 1*64^1 = "v/".
 POSIX.1-2001.
 .SH NOTES
 The value returned by
-.BR a64l ()
+.BR l64a ()
 may be a pointer to a static buffer, possibly overwritten
 by later calls.
 .LP
--

-- 
(Continue reading)

Jukka Ruohonen | 2 Jul 11:46 2010
Picon
Picon

Couple of small issues

Hi.

Two small issues:

1. At least FreeBSD and NetBSD define ffs(3) in <strings.h>, as
   mandated/recommended by POSIX.

2. In endian(3) there are some historical notes that are incorrect or at
   least unclear.

I could probably go and audit rest of the manual pages that contains (often
outdated or plain wrong) references to the BSDs and other operating systems.

While reading the changelog, I noticed (an implicit?) trend towards trying
to limit the documentation to Linux only. I think this is a good idea;
surely there is enough work to keep the manual pages updated with respect to
Linux alone.

- Jukka.
diff --git a/man3/ffs.3 b/man3/ffs.3
index bc5c2ae..e62f6b2 100644
--- a/man3/ffs.3
+++ b/man3/ffs.3
 <at>  <at>  -28,7 +28,7  <at>  <at> 
 .\"
 .\" Modified 2003 Walter Harms (walter.harms@...)
 .\"
-.TH FFS 3 2009-08-27 "GNU" "Linux Programmer's Manual"
(Continue reading)

Denis Barbier | 7 Jul 10:16 2010
Picon

[patch] Fix trivial typos in man2/sched_setscheduler.2

Hi,

Here is a patch to fix 2 trivial typos in man2/sched_setscheduler.2.

Denis
Attachment (sched_setscheduler.patch): application/octet-stream, 571 bytes
Linus Nilsson | 13 Jul 03:17 2010
Picon

[patch] error.3: change perror(errnum) to strerror(errnum)

As I was reading "man 3 error", I noticed that it mentioned
"perror(errnum)", but it is "strerror" that gives back a string
description given an error code.

The problem was noticed in man-pages 3.25, and the patch was made
against current git.

diff --git a/man3/error.3 b/man3/error.3
index fc4dfbe..f2fcf8c 100644
--- a/man3/error.3
+++ b/man3/error.3
 <at>  <at>  -55,7 +55,7  <at>  <at>  the program name, a colon and a space, the message
specified by the
 .BR printf (3)-style
 format string \fIformat\fP, and, if \fIerrnum\fP is
 nonzero, a second colon and a space followed by the string given by
-\fBperror(\fIerrnum\fB)\fP.
+\fBstrerror(\fIerrnum\fB)\fP.
 Any arguments required for
 .I format
 should follow
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Michael Kerrisk | 14 Jul 08:46 2010
Picon

man-pages-3.25 released

Gidday,

The Linux man-pages maintainer proudly announces:

   man-pages-3.25.tar.gz - man pages for Linux

This release is now available for download at:

 http://www.kernel.org/pub/linux/docs/man-pages
 or ftp://ftp.kernel.org/pub/linux/docs/man-pages

The online changelog is available at
http://www.kernel.org/doc/man-pages/changelog.html (blogged at
http://linux-man-pages.blogspot.com/2010/06/man-pages-325-is-released.html
) and the current version of the pages is browsable at
http://www.kernel.org/doc/man-pages/

You are receiving this message either because:

a) You contributed to the content of this release.

b) You are subscribed to linux-man@... (*).

c) I have information (possibly inaccurate) that you are the
maintainer of a translation of the manual pages, or are the maintainer
of the manual pages set in a particular distribution, or have
expressed interest in helping with man-pages maintenance, or have
otherwise expressed interest in being notified about man-pages
releases.  If you don't want to receive such messages from me, or you
know of some other translator or maintainer who may want to receive
(Continue reading)

Alberto Bertogli | 17 Jul 06:11 2010
Picon

[PATCH] getrlimit.2: Note the side-effects of setting RLIMIT_STACK to RLIM_INFINITY

Since 2.6.25 (commit cc503c1b4), setting RLIMIT_STACK to RLIM_INFINITY has the
side-effect of making the kernel use the old vm layout, which can be also be
selected manually by setting the personality flag ADDR_COMPAT_LAYOUT.

The details of the old vs. new layout can be found at
http://lwn.net/Articles/90311/.

Signed-off-by: Alberto Bertogli <albertito@...>
---

Hi!

I just found this behaviour and I thought a note was appropriate for the man
page.

While it shouldn't be noticeable for most cases, I just hit a bug triggered by
it, so it's not _that_ strange.

Thanks a lot,
		Alberto

 man2/getrlimit.2 |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
index 35c9eed..b9df581 100644
--- a/man2/getrlimit.2
+++ b/man2/getrlimit.2
 <at>  <at>  -360,6 +360,15  <at>  <at>  Since Linux 2.6.23,
 this limit also determines the amount of space used for the process's
(Continue reading)

Yuri Kozlov | 17 Jul 10:58 2010
Picon

small fix for open.2

Hello.

--- man-pages-git/man2/open.2   2010-07-17 09:02:09.000000000 +0400
+++ /tmp/open.2 2010-07-17 12:56:34.000000000 +0400
 <at>  <at>  -679,7 +679,7  <at>  <at> 
 and
 .B O_RSYNC
 to the same numerical value as
-.BR O_SYNC
+.BR O_SYNC .
 Most Linux file systems don't actually implement the POSIX
 .B O_SYNC
 semantics, which require all metadata updates of a write

--

-- 
Best Regards,
Yuri Kozlov

Attachment (open.2.patch): text/x-patch, 342 bytes

Gmane