Some typo and formatting fix
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
PATCH 1/5 ptrace.2: tfix
In reply to a message not in the archive--- man2/ptrace.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
man2/ptrace.2 +1 -1
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
Re: [PATCH 1/5] ptrace.2: tfix
In reply to a message not in the archiveThanks David. Applied!
Quoted 24 lines · David Prévot
--- man2/ptrace.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man2/ptrace.2 +1
-2@@ -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
Michael Kerrisk (man-pages)
AppliedRe: [PATCH 2/5] readdir.3: ffix
In reply to a message not in the archiveApplied!
Quoted 24 lines · David Prévot
--- man3/readdir.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man3/readdir.3 +1
-2@@ -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
Michael Kerrisk (man-pages)
AppliedRe: [PATCH 3/5] strcat.3: ffix
In reply to a message not in the archiveApplied!
Quoted 20 lines · David Prévot
--- man3/strcat.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man3/strcat.3 +1
-2@@ -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
Michael Kerrisk (man-pages)
AppliedRe: [PATCH 4/5] strcpy.3: tfix
In reply to a message not in the archiveApplied!
Quoted 20 lines · David Prévot
--- man3/strcpy.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man3/strcpy.3 +1
-2@@ -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
Michael Kerrisk (man-pages)
AppliedRe: [PATCH 5/5] migrate_pages.2: tfix
In reply to a message not in the archiveApplied!
Quoted 24 lines · David Prévot
--- man2/migrate_pages.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man2/migrate_pages.2 +1
-2@@ -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
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