Skip to contentSkip to conversation

lseek.2, inet_pton.3, tzfile.5: tfix

PATCH In review David Prévot 2 participants 2 messages Sep 23, 2011 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lseek.2, inet_pton.3, tzfile.5: tfix

---

Hi Michael,

Please find attach a consistency fix: there were only five “zeroes” but twenty four “zeros” in those manual pages.

Regards

David

 man2/lseek.2     |    6 +++---
 man3/inet_pton.3 |    2 +-
 man5/tzfile.5    |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
man2/lseek.2 +3 -3
index 9e62bc6..a7c435c 100644
@@ -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
man3/inet_pton.3 +1 -1
index dfc879f..a2054cb 100644
@@ -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.
man5/tzfile.5 +1 -1
index 51a1c8e..3b938dd 100644
@@ -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
Signature · 6 lines
1.7.6.3

--
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): 1316742690-15258-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw

Hi David,

Quoted 8 lines · David Prévot

---

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

Quoted 67 lines

 man2/lseek.2     |    6 +++---
 man3/inet_pton.3 |    2 +-
 man5/tzfile.5    |    2 +-

 3 files changed, 5 insertions(+), 5 deletions(-)
man2/lseek.2 +0 -0
index 9e62bc6..a7c435c 100644
@@ -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.

man2/lseek.2 +1 -1
-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.

man2/lseek.2 +1 -1
-(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

man2/lseek.2 +0 -0
@@ -145,7 +145,7 @@ return

 (i.e., even if the location referred to by
 .I offset
 is a hole,

man2/lseek.2 +1 -1
-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

man3/inet_pton.3 +0 -0
index dfc879f..a2054cb 100644
@@ -93,7 +93,7 @@ For example, the loopback address

 .I 0:0:0:0:0:0:0:1
 can be abbreviated as
 .IR ::1 .

man3/inet_pton.3 +1 -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.

man5/tzfile.5 +0 -0
index 51a1c8e..3b938dd 100644
@@ -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')

man5/tzfile.5 +1 -1
-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 [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