From b072a7882a9c5259b689c73263fde6a704e47b18 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 5 Mar 2013 18:22:04 +0100 Subject: [PATCH] Removed trailing white space at end of lines --- man2/getunwind.2 | 4 ++-- man2/mmap.2 | 4 ++-- man2/mount.2 | 6 +++--- man2/open.2 | 2 +- man3/printf.3 | 6 +++--- man5/gai.conf.5 | 2 +- man5/nss.5 | 2 +- man7/man-pages.7 | 2 +- man7/posixoptions.7 | 2 +- man7/socket.7 | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/man2/getunwind.2 b/man2/getunwind.2 index 0628bc909..925f5c18f 100644 --- a/man2/getunwind.2 +++ b/man2/getunwind.2 @@ -61,7 +61,7 @@ is not NULL; otherwise, no data is copied, and the call succeeds, returning the size that would be needed to store the unwind data. -The first part of the unwind data contains an unwind table. +The first part of the unwind data contains an unwind table. The rest contains the associated unwind information, in no particular order. The unwind table contains entries of the following form: @@ -89,7 +89,7 @@ is set to indicate the error. fails with the error .B EFAULT if the unwind info can't be stored in the space specified by -.IR buf . +.IR buf . .SH VERSIONS This system call is available since Linux 2.4. .SH CONFORMING TO diff --git a/man2/mmap.2 b/man2/mmap.2 index 54ac041a1..36008bbe7 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -614,10 +614,10 @@ for this case. POSIX specifies that the system shall always zero fill any partial page at the end -of the object and that system will never write any modification of the +of the object and that system will never write any modification of the object beyond its end. On Linux, when you write data to such partial page after the end -of the object, the data stays in the page cache even after the file +of the object, the data stays in the page cache even after the file is closed and unmapped and even though the data is never written to the file itself, subsequent mappings may see the modified content. diff --git a/man2/mount.2 b/man2/mount.2 index 5b8ed65ef..e979d4026 100644 --- a/man2/mount.2 +++ b/man2/mount.2 @@ -101,7 +101,7 @@ in the low order 16 bits: .\" mount --make-rshared ==> MS_SHARED | MS_REC .\" .\" These settings are visible in proc/mountinfo -.\" +.\" .\" .\" These need to be documented on this page. .\" See: @@ -123,8 +123,8 @@ in the low order 16 bits: .\" .\" Uncover practical applications for advanced Linux mounts features .\" Serge E. Hallyn (sergeh@us.ibm.com), Software Engineer, IBM  -.\" Ram Pai (linuxram@us.ibm.com), Software Engineer, IBM -.\" Date: 17 Sep 2007 +.\" Ram Pai (linuxram@us.ibm.com), Software Engineer, IBM +.\" Date: 17 Sep 2007 .\" .\" 2.6.25 Added MS_I_VERSION, which needs to be documented. .\" diff --git a/man2/open.2 b/man2/open.2 index 4988791b5..e082a77b9 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -122,7 +122,7 @@ The .I file creation flags are .BR O_CLOEXEC , -.BR O_CREAT , +.BR O_CREAT , .BR O_DIRECTORY , .BR O_EXCL , .BR O_NOCTTY , diff --git a/man3/printf.3 b/man3/printf.3 index c57f05601..a30425754 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -1054,10 +1054,10 @@ make_message(const char *fmt, ...) va_end(ap); /* Check error code */ - + if (n < 0) return NULL; - + /* If that worked, return the string */ if (n < size) @@ -1066,7 +1066,7 @@ make_message(const char *fmt, ...) /* Else try again with more space */ size = n + 1; /* Precisely what is needed */ - + if ((np = realloc (p, size)) == NULL) { free(p); diff --git a/man5/gai.conf.5 b/man5/gai.conf.5 index a749b7cea..46ff8e7bd 100644 --- a/man5/gai.conf.5 +++ b/man5/gai.conf.5 @@ -89,7 +89,7 @@ precedence ::ffff:0:0/96 10 .fi .\" .SH AUTHOR .\" Ulrich Drepper -.\" +.\" .SH SEE ALSO .BR getaddrinfo(3), RFC\ 3484 diff --git a/man5/nss.5 b/man5/nss.5 index 45c91e16d..12097bcee 100644 --- a/man5/nss.5 +++ b/man5/nss.5 @@ -106,6 +106,6 @@ SERVICES_AUTHORITATIVE=FALSE SETENT_BATCH_READ=FALSE .\" .SH AUTHOR .\" Ulrich Drepper -.\" +.\" .SH SEE ALSO \fInsswitch.conf\fR diff --git a/man7/man-pages.7 b/man7/man-pages.7 index 390986810..fd1ae3793 100644 --- a/man7/man-pages.7 +++ b/man7/man-pages.7 @@ -38,7 +38,7 @@ when writing man pages for the Linux \fIman-pages\fP project, which documents the user-space API provided by the Linux kernel and the GNU C library. The project thus provides most of the pages in Section 2, -as well as many of the pages that appear +as well as many of the pages that appear in Sections 3, 4, 5, and 7 of the man pages on a Linux system. The conventions described on this page may also be useful for authors writing man pages for other projects. diff --git a/man7/posixoptions.7 b/man7/posixoptions.7 index 1c2bf89db..1a48d44c1 100644 --- a/man7/posixoptions.7 +++ b/man7/posixoptions.7 @@ -144,7 +144,7 @@ is present. .SS --- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING This option has been deleted. Not in final XPG6. -.SS FSC - _POSIX_FSYNC - _SC_FSYNC +.SS FSC - _POSIX_FSYNC - _SC_FSYNC The function .IR fsync () is present. diff --git a/man7/socket.7 b/man7/socket.7 index 9b538e1b4..0d88ba0ce 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -314,7 +314,7 @@ this socket option could be set, but could not retrieved with Since Linux 3.8, it is readable. The .I optlen -argument should contain the buffer size available +argument should contain the buffer size available to receive the device name and is recommended to be .BR IFNAMSZ bytes.