Re: [PATCH] lseek.2, inet_pton.3, tzfile.5: tfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

On Fri, Sep 23, 2011 at 3:51 AM, David Prévot <taffit@xxxxxxxxxx> wrote:
>
> Signed-off-by: David Prévot <taffit@xxxxxxxxxx>
> ---
>
> Hi Michael,
>
> Please find attach a consistency fix: there were only five “zeroes”
> but twenty four “zeros” in those manual pages.

Yes, thanks for that. (See also the 2.80 changelog. Some instances
crept back since that global change.)

Change will be in 3.34.

Cheers

Michael

>  man2/lseek.2     |    6 +++---
>  man3/inet_pton.3 |    2 +-
>  man5/tzfile.5    |    2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/man2/lseek.2 b/man2/lseek.2
> index 9e62bc6..a7c435c 100644
> --- a/man2/lseek.2
> +++ b/man2/lseek.2
> @@ -126,12 +126,12 @@ This can be useful for applications such as file backup tools,
>  which can save space when creating backups and preserve holes,
>  if they have a mechanism for discovering holes.
>
> -For the purposes of these operations, a hole is a sequence of zeroes that
> +For the purposes of these operations, a hole is a sequence of zeros that
>  (normally) has not been allocated in the underlying file storage.
>  However, a file system is not obliged to report holes,
>  so these operations are not a guaranteed mechanism for
>  mapping the storage space actually allocated to a file.
> -(Furthermore, a sequence of zeroes that actually has been written
> +(Furthermore, a sequence of zeros that actually has been written
>  to the underlying storage may not be reported as a hole.)
>  In the simplest implementation,
>  a file system can support the operations by making
> @@ -145,7 +145,7 @@ return
>  (i.e., even if the location referred to by
>  .I offset
>  is a hole,
> -it can be considered to consist of data that is a sequence of zeroes).
> +it can be considered to consist of data that is a sequence of zeros).
>  .\" https://lkml.org/lkml/2011/4/22/79
>  .\" http://lwn.net/Articles/440255/
>  .\" http://blogs.oracle.com/bonwick/entry/seek_hole_and_seek_data
> diff --git a/man3/inet_pton.3 b/man3/inet_pton.3
> index dfc879f..a2054cb 100644
> --- a/man3/inet_pton.3
> +++ b/man3/inet_pton.3
> @@ -93,7 +93,7 @@ For example, the loopback address
>  .I 0:0:0:0:0:0:0:1
>  can be abbreviated as
>  .IR ::1 .
> -The wildcard address, consisting of all zeroes, can be written as
> +The wildcard address, consisting of all zeros, can be written as
>  .IR :: .
>  .IP 3.
>  An alternate format is useful for expressing IPv4-mapped IPv6 addresses.
> diff --git a/man5/tzfile.5 b/man5/tzfile.5
> index 51a1c8e..3b938dd 100644
> --- a/man5/tzfile.5
> +++ b/man5/tzfile.5
> @@ -13,7 +13,7 @@ begin with the magic characters "TZif" to identify then as
>  timezone information files,
>  followed by a character identifying the version of the file's format
>  (as of 2005, either an ASCII NUL ('\\0') or a '2')
> -followed by fifteen bytes containing zeroes reserved for future use,
> +followed by fifteen bytes containing zeros reserved for future use,
>  followed by six four-byte values of type
>  .IR long ,
>  written in a "standard" byte order
> --
> 1.7.6.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-man" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux