All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] system_data_types.7: tfix
@ 2023-05-19 10:26 Eric Wong
  2023-05-19 22:21 ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2023-05-19 10:26 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, Eric Wong

The actual field names omit the 'g', matching sigevent.7.

Signed-off-by: Eric Wong <e@80x24.org>
---
 I really don't understand why the 'g' is omitted to give us
 this footgun; `struct sigevent' has longer field names...

 man7/system_data_types.7 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 6bbf71004..1840a40fa 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -183,8 +183,8 @@ POSIX.1-2001 and later.
 .PP
 .EX
 union sigval {
-    int     sigval_int; /* Integer value */
-    void   *sigval_ptr; /* Pointer value */
+    int     sival_int; /* Integer value */
+    void   *sival_ptr; /* Pointer value */
 };
 .EE
 .PP

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] system_data_types.7: tfix
  2023-05-19 10:26 [PATCH] system_data_types.7: tfix Eric Wong
@ 2023-05-19 22:21 ` Alejandro Colomar
  0 siblings, 0 replies; 4+ messages in thread
From: Alejandro Colomar @ 2023-05-19 22:21 UTC (permalink / raw)
  To: Eric Wong, Alejandro Colomar; +Cc: linux-man


[-- Attachment #1.1: Type: text/plain, Size: 1026 bytes --]

Hi Eric,

On 5/19/23 12:26, Eric Wong wrote:
> The actual field names omit the 'g', matching sigevent.7.
> 
> Signed-off-by: Eric Wong <e@80x24.org>

Patch applied.  Thanks!

Alex

> ---
>  I really don't understand why the 'g' is omitted to give us
>  this footgun; `struct sigevent' has longer field names...

v0v  Confusing it is :)

> 
>  man7/system_data_types.7 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 6bbf71004..1840a40fa 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -183,8 +183,8 @@ POSIX.1-2001 and later.
>  .PP
>  .EX
>  union sigval {
> -    int     sigval_int; /* Integer value */
> -    void   *sigval_ptr; /* Pointer value */
> +    int     sival_int; /* Integer value */
> +    void   *sival_ptr; /* Pointer value */
>  };
>  .EE
>  .PP

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] system_data_types.7: tfix
  2021-05-09 21:39 ` [PATCH] system_data_types.7: tfix Alejandro Colomar
@ 2021-05-09 23:46   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-05-09 23:46 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man

Hi Alex,

On 5/10/21 9:39 AM, Alejandro Colomar wrote:
> Those pages didn't exist.  Fix the section number.
> I noticed the typo thanks to the HTML pages on man7.org.
> 
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>


Applied.

Thanks,

Michael



> ---
>  man7/system_data_types.7 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index e038aab1e..ddabefd16 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -374,7 +374,7 @@ POSIX.1-2001 and later.
>  .BR getegid (2),
>  .BR getgroups (2),
>  .BR getresgid (2),
> -.BR getgrnam (2),
> +.BR getgrnam (3),
>  .BR credentials (7)
>  .RE
>  .\"------------------------------------- id_t -------------------------/
> @@ -675,7 +675,7 @@ C11 and later; POSIX.1-2001 and later.
>  .IR "See also" :
>  .BR setlocale (3),
>  .BR localeconv (3),
> -.BR charsets (5),
> +.BR charsets (7),
>  .BR locale (7)
>  .RE
>  .\"------------------------------------- ldiv_t -----------------------/
> @@ -1534,7 +1534,7 @@ POSIX.1-2001 and later.
>  .BR getuid (2),
>  .BR geteuid (2),
>  .BR getresuid (2),
> -.BR getpwnam (2),
> +.BR getpwnam (3),
>  .BR credentials (7)
>  .RE
>  .\"------------------------------------- uintmax_t --------------------/
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] system_data_types.7: tfix
  2021-05-09 21:38 [PATCH] fflush.3: SEE ALSO: Add fpurge(3) Alejandro Colomar
@ 2021-05-09 21:39 ` Alejandro Colomar
  2021-05-09 23:46   ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2021-05-09 21:39 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man

Those pages didn't exist.  Fix the section number.
I noticed the typo thanks to the HTML pages on man7.org.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man7/system_data_types.7 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index e038aab1e..ddabefd16 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -374,7 +374,7 @@ POSIX.1-2001 and later.
 .BR getegid (2),
 .BR getgroups (2),
 .BR getresgid (2),
-.BR getgrnam (2),
+.BR getgrnam (3),
 .BR credentials (7)
 .RE
 .\"------------------------------------- id_t -------------------------/
@@ -675,7 +675,7 @@ C11 and later; POSIX.1-2001 and later.
 .IR "See also" :
 .BR setlocale (3),
 .BR localeconv (3),
-.BR charsets (5),
+.BR charsets (7),
 .BR locale (7)
 .RE
 .\"------------------------------------- ldiv_t -----------------------/
@@ -1534,7 +1534,7 @@ POSIX.1-2001 and later.
 .BR getuid (2),
 .BR geteuid (2),
 .BR getresuid (2),
-.BR getpwnam (2),
+.BR getpwnam (3),
 .BR credentials (7)
 .RE
 .\"------------------------------------- uintmax_t --------------------/
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-19 22:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 10:26 [PATCH] system_data_types.7: tfix Eric Wong
2023-05-19 22:21 ` Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2021-05-09 21:38 [PATCH] fflush.3: SEE ALSO: Add fpurge(3) Alejandro Colomar
2021-05-09 21:39 ` [PATCH] system_data_types.7: tfix Alejandro Colomar
2021-05-09 23:46   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.