Skip to contentSkip to conversation

bugzilla_218018

PATCH In review Rajesh Pandian 3 participants 5 messages Dec 28, 2023 – Jan 1, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bugzilla_218018

---
 man3/dl_iterate_phdr.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man3/dl_iterate_phdr.3 +3 -1
index 0a8beb3ae..f47fdd502 100644
@@ -129,7 +129,9 @@ The
 .I dlpi_phnum
 field indicates the size of this array.
 .P
-These program headers are structures of the following form:
+The ELF program header is described by the type Elf32_Phdr 
+or Elf64_Phdr depending on the architecture.
+Following is an example of 32 bit architecture:
 .P
 .in +4n
 .EX
Signature · 1 line
2.39.2
#1 lore raw

Hi,

Quoted 9 lines · Rajesh Pandian
---
 man3/dl_iterate_phdr.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man3/dl_iterate_phdr.3 +0 -0
index 0a8beb3ae..f47fdd502 100644

man3/dl_iterate_phdr.3 The · line 134

Quoted 7 lines
man3/dl_iterate_phdr.3 +3 -1
@@ -129,7 +129,9 @@ The
 .I dlpi_phnum
 field indicates the size of this array.
 .P
-These program headers are structures of the following form:
+The ELF program header is described by the type Elf32_Phdr 
+or Elf64_Phdr depending on the architecture.
+Following is an example of 32 bit architecture:

I'd slightly change the last sentence to

The following is an example of the 32-bit architecture

since that sounds a bit nicer IMO.

Quoted 7 lines
man3/dl_iterate_phdr.3 +0 -0
 .P
 .in +4n
 .EX
Signature · 1 line
2.39.2
Signature · 2 lines
Kind Regards,
Tom Schwindl
author
#2 lore raw

Thanks for the feedback. Have sent it with the subject [PATCH] bugzilla_218018_v1

Quoted 38 lines · Tom Schwindl

Hi,

Quoted 9 lines · Rajesh Pandian
---
 man3/dl_iterate_phdr.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man3/dl_iterate_phdr.3 +0 -0
index 0a8beb3ae..f47fdd502 100644

man3/dl_iterate_phdr.3 The · line 134

Quoted 7 lines
man3/dl_iterate_phdr.3 +3 -1
@@ -129,7 +129,9 @@ The
 .I dlpi_phnum
 field indicates the size of this array.
 .P
-These program headers are structures of the following form:
+The ELF program header is described by the type Elf32_Phdr
+or Elf64_Phdr depending on the architecture.
+Following is an example of 32 bit architecture:

I'd slightly change the last sentence to

The following is an example of the 32-bit architecture

since that sounds a bit nicer IMO.

Quoted 7 lines
man3/dl_iterate_phdr.3 +0 -1
 .P
 .in +4n
 .EX
--

2.39.2

--
Kind Regards,
Tom Schwindl

#3 lore raw

Hi Rajesh,

Quoted 2 lines · rajesh

Thanks for the feedback. Have sent it with the subject [PATCH] bugzilla_218018_v1

In general, I prefer if versions of patches are sent as replies to the same mail thread, so I have it more organized in the mailbox. It's not a big deal, though.

Regarding the subject, the first patch you send is assumed to be v1, so it's usual to call following ones v2 (v3, ...). Not a big deal here either, but take it into account for next time. Also, git-format-patch(1) will do the right thing for you if you pass '-v1' or '-v2' (or '-vFOO', FWIW) to it.

Cheers,
Alex

Quoted 40 lines · Tom Schwindl
Quoted 38 lines

Hi,

Quoted 9 lines · Rajesh Pandian
---
 man3/dl_iterate_phdr.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man3/dl_iterate_phdr.3 +0 -0
index 0a8beb3ae..f47fdd502 100644

man3/dl_iterate_phdr.3 The · line 134

Quoted 7 lines
man3/dl_iterate_phdr.3 +3 -1
@@ -129,7 +129,9 @@ The
 .I dlpi_phnum
 field indicates the size of this array.
 .P
-These program headers are structures of the following form:
+The ELF program header is described by the type Elf32_Phdr
+or Elf64_Phdr depending on the architecture.
+Following is an example of 32 bit architecture:

I'd slightly change the last sentence to

The following is an example of the 32-bit architecture

since that sounds a bit nicer IMO.

Quoted 7 lines
man3/dl_iterate_phdr.3 +0 -1
 .P
 .in +4n
 .EX
--

2.39.2

--
Kind Regards,
Tom Schwindl

Signature · 2 lines
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
#4 lore raw
In reply to Rajesh Pandian

Hi Rajesh,

Quoted 1 line · Rajesh Pandian

---

Missing commit message.

Quoted 8 lines
 man3/dl_iterate_phdr.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man3/dl_iterate_phdr.3 +0 -0
index 0a8beb3ae..f47fdd502 100644

man3/dl_iterate_phdr.3 The · line 133

Quoted 6 lines
man3/dl_iterate_phdr.3 +2 -1
@@ -129,7 +129,9 @@ The
 .I dlpi_phnum
 field indicates the size of this array.
 .P
-These program headers are structures of the following form:
+The ELF program header is described by the type Elf32_Phdr 
+or Elf64_Phdr depending on the architecture.

Please use semantic newlines.

$ MANWIDTH=72 man man-pages | sed -n '/Use semantic newlines/,/^$/p'
   Use semantic newlines
     In  the  source of a manual page, new sentences should be started
     on new lines, long sentences should be split into lines at clause
     breaks (commas, semicolons, colons, and so on), and long  clauses
     should be split at phrase boundaries.  This convention, sometimes
     known  as  "semantic newlines", makes it easier to see the effect
     of patches, which often operate at the level of  individual  sen‐
     tences, clauses, or phrases.

In this case, I'd break the line between 'by' and 'the', or maybe before 'depending'; whichever you prefer.

Cheers,
Alex

Quoted 7 lines
man3/dl_iterate_phdr.3 +1 -0
+Following is an example of 32 bit architecture:
 .P
 .in +4n
 .EX
Signature · 1 line
2.39.2
Signature · 2 lines
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.