Skip to contentSkip to conversation

bugzilla_218018_v1

PATCH In review Rajesh Pandian 3 participants 4 messages Dec 29, 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_v1

---
 man3/dl_iterate_phdr.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man3/dl_iterate_phdr.3 +3 -1
index 0a8beb3ae..1355c5bcc 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.
+The following is an example of the 32-bit architecture:
 .P
 .in +4n
 .EX
Signature · 1 line
2.39.2
#1 lore raw

Hi Rajesh,

2 small nits below.

Quoted 10 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..1355c5bcc 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.

I think "is described by the Elf32_Phdr or Elf64_Phdr type, depending..." sounds better here.

man3/dl_iterate_phdr.3 The · line 134

Quoted 1 line
man3/dl_iterate_phdr.3 +1 -0
+The following is an example of the 32-bit architecture:

How about "The following layout applies to 32-bit architectures:"?

Thanks,
Stefan.

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

2.39.2

author
#2 lore raw

Thanks for the feedback. Sounds good. I'll send a patch later.

Quoted 40 lines · Stefan Puiu

Hi Rajesh,

2 small nits below.

Quoted 10 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..1355c5bcc 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.

I think "is described by the Elf32_Phdr or Elf64_Phdr type, depending..." sounds better here.

man3/dl_iterate_phdr.3 The · line 134

Quoted 1 line
man3/dl_iterate_phdr.3 +1 -0
+The following is an example of the 32-bit architecture:

How about "The following layout applies to 32-bit architectures:"?

Thanks,
Stefan.

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

2.39.2

#3 lore raw
In reply to Stefan Puiu

Hi Stefan,

Quoted 2 lines · Stefan Puiu

I think "is described by the Elf32_Phdr or Elf64_Phdr type, depending..." sounds better here.

+1

Quoted 3 lines
Quoted 1 line

+The following is an example of the 32-bit architecture:

How about "The following layout applies to 32-bit architectures:"?

+1

Have a lovely year,
Alex

Signature · 2 lines
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.