Skip to contentSkip to conversation

Some typo and formatting fix

PATCH Applied David Prévot 3 participants 13 messages Aug 13, 2012 7 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hi Michael,

Here are some small issue spotted during the ongoing translation update. I'm not totally sure for the 4th one, but it seems there is something to fix anyway.

Regards

David

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

A message that is not in the archive (sent off-list or not yet received): 1344821668-11324-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw

PATCH 1/5 ptrace.2: tfix

---
 man2/ptrace.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/ptrace.2 +1 -1
index efaf597..3f82d64 100644
@@ -1785,7 +1785,7 @@ to return to userspace with the error
 .BR EINTR .
 In this particular case, the program reacted to
 .B EINTR
-by checking ithe current time, and then executing
+by checking the current time, and then executing
 .BR epoll_wait (2)
 again.
 (Programs which do not expect such "stray"
Signature · 6 lines
1.7.10.4

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

A message that is not in the archive (sent off-list or not yet received): 1344821668-11324-2-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#4 lore raw

Re: [PATCH 1/5] ptrace.2: tfix

Thanks David. Applied!

Quoted 24 lines · David Prévot
---
 man2/ptrace.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/ptrace.2 +1 -2
index efaf597..3f82d64 100644
@@ -1785,7 +1785,7 @@ to return to userspace with the error
 .BR EINTR .
 In this particular case, the program reacted to
 .B EINTR
-by checking ithe current time, and then executing
+by checking the current time, and then executing
 .BR epoll_wait (2)
 again.
 (Programs which do not expect such "stray"
--

1.7.10.4

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

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw

PATCH 2/5 readdir.3: ffix

In reply to a message not in the archive
---
 man3/readdir.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/readdir.3 +1 -1
index 0660efd..90f2ff1 100644
@@ -227,7 +227,7 @@ as follows:
 .nf
 
 name_max = pathconf(dirpath, _PC_NAME_MAX);
-if (name_max == \-1)        /* Limit not defined, or error */
+if (name_max == \-1)         /* Limit not defined, or error */
     name_max = 255;         /* Take a guess */
 len = offsetof(struct dirent, d_name) + name_max + 1;
 entryp = malloc(len);
Signature · 6 lines
1.7.10.4

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

A message that is not in the archive (sent off-list or not yet received): 1344821668-11324-3-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#7 lore raw

Re: [PATCH 2/5] readdir.3: ffix

Applied!

Quoted 24 lines · David Prévot
---
 man3/readdir.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/readdir.3 +1 -2
index 0660efd..90f2ff1 100644
@@ -227,7 +227,7 @@ as follows:
 .nf
 
 name_max = pathconf(dirpath, _PC_NAME_MAX);
-if (name_max == \-1)        /* Limit not defined, or error */
+if (name_max == \-1)         /* Limit not defined, or error */
     name_max = 255;         /* Take a guess */
 len = offsetof(struct dirent, d_name) + name_max + 1;
 entryp = malloc(len);
--

1.7.10.4

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

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw

PATCH 3/5 strcat.3: ffix

In reply to a message not in the archive
---
 man3/strcat.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/strcat.3 +1 -1
index ef53641..a245283 100644
@@ -108,7 +108,7 @@ Some systems (the BSDs, Solaris, and others) provide the following function:
 This function appends the null-terminated string
 .I src
 to the string
-.I dest,
+.IR dest ,
 copying at most
 .IR "size\-strlen(dest)\-1"
 from
Signature · 6 lines
1.7.10.4

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

A message that is not in the archive (sent off-list or not yet received): 1344821668-11324-4-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#10 lore raw

Re: [PATCH 3/5] strcat.3: ffix

Applied!

Quoted 20 lines · David Prévot
---
 man3/strcat.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/strcat.3 +1 -2
index ef53641..a245283 100644
@@ -108,7 +108,7 @@ Some systems (the BSDs, Solaris, and others) provide the following function:
 This function appends the null-terminated string
 .I src
 to the string
-.I dest,
+.IR dest ,
 copying at most
 .IR "size\-strlen(dest)\-1"
 from
--

1.7.10.4

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#11 lore raw

PATCH 4/5 strcpy.3: tfix

In reply to a message not in the archive
---
 man3/strcpy.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/strcpy.3 +1 -1
index 0a222dd..0664335 100644
@@ -116,7 +116,7 @@ One valid (and intended) use of
 is to copy a C string to a fixed-length buffer
 while ensuring both that the buffer is not overflowed
 and that unused bytes in the target buffer are zeroed out
-(perhaps to prevent information leaks if the buffer is to
+(perhaps to prevent information leaks if the buffer is to be
 written to media or transmitted to another process via an
 interprocess communication technique).
 
Signature · 6 lines
1.7.10.4

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

A message that is not in the archive (sent off-list or not yet received): 1344821668-11324-5-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#13 lore raw

Re: [PATCH 4/5] strcpy.3: tfix

Applied!

Quoted 20 lines · David Prévot
---
 man3/strcpy.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/strcpy.3 +1 -2
index 0a222dd..0664335 100644
@@ -116,7 +116,7 @@ One valid (and intended) use of
 is to copy a C string to a fixed-length buffer
 while ensuring both that the buffer is not overflowed
 and that unused bytes in the target buffer are zeroed out
-(perhaps to prevent information leaks if the buffer is to
+(perhaps to prevent information leaks if the buffer is to be
 written to media or transmitted to another process via an
 interprocess communication technique).
 
--

1.7.10.4

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#14 lore raw

PATCH 5/5 migrate_pages.2: tfix

In reply to a message not in the archive
---
 man2/migrate_pages.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/migrate_pages.2 +1 -1
index 47615bf..9c7416e 100644
@@ -87,7 +87,7 @@ privilege.
 .SH "RETURN VALUE"
 On success
 .BR migrate_pages ()
-returns the number of pages that cold not be moved
+returns the number of pages that could not be moved
 (i.e., a return of zero means that all pages were successfully moved).
 On error, it returns \-1, and sets
 .I errno
Signature · 6 lines
1.7.10.4

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

A message that is not in the archive (sent off-list or not yet received): 1344821668-11324-6-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#16 lore raw

Re: [PATCH 5/5] migrate_pages.2: tfix

Applied!

Quoted 24 lines · David Prévot
---
 man2/migrate_pages.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/migrate_pages.2 +1 -2
index 47615bf..9c7416e 100644
@@ -87,7 +87,7 @@ privilege.
 .SH "RETURN VALUE"
 On success
 .BR migrate_pages ()
-returns the number of pages that cold not be moved
+returns the number of pages that could not be moved
 (i.e., a return of zero means that all pages were successfully moved).
 On error, it returns \-1, and sets
 .I errno
--

1.7.10.4

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

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#17 lore raw
In reply to a message not in the archive
Quoted 3 lines · On Sunday 12 August 2012 21:34:23 David Prévot wrote:

Here are some small issue spotted during the ongoing translation update. I'm not totally sure for the 4th one, but it seems there is something to fix anyway.

4th one looks correct to me
-mike

A message that is not in the archive (sent off-list or not yet received): 201208122155.39478.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org

#19 lore raw
Quoted 6 lines · Mike Frysinger
Quoted 3 lines · On Sunday 12 August 2012 21:34:23 David Prévot wrote:

Here are some small issue spotted during the ongoing translation update. I'm not totally sure for the 4th one, but it seems there is something to fix anyway.

4th one looks correct to me

Yes, it's correct.

Thanks for all the patches, David.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html