* Fwd: Missing { in sigaltstack example code
[not found] ` <CAJJ5kavLdD33orcz4fDHcBwAM_T0RD8Xaja78vdBe2x8=wHbKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-12-17 17:55 ` Elie Roudninski
[not found] ` <CAJJ5katC1h_cpoZRuzUNybeaD+3FBxjFtK9v7GFXCms7kd3bYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Elie Roudninski @ 2017-12-17 17:55 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hello Michael,
I noticed a small typo in the man page of sigaltstack in the example
section, a { is missing :
http://man7.org/linux/man-pages/man2/sigaltstack.2.html
I believe :
> if (sigaltstack(&ss, NULL) == -1)
> perror("sigaltstack");
> exit(EXIT_FAILURE);
> }
should be :
> if (sigaltstack(&ss, NULL) == -1) {
> perror("sigaltstack");
> exit(EXIT_FAILURE);
> }
See you next year, and thank you for maintaining the manpages :)
Best regards,
Elie ROUDNINSKI
P.S : sorry for previous email with HTML ...
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fwd: Missing { in sigaltstack example code
[not found] ` <CAJJ5katC1h_cpoZRuzUNybeaD+3FBxjFtK9v7GFXCms7kd3bYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-12-18 16:11 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-12-18 16:11 UTC (permalink / raw)
To: Elie Roudninski
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
Hello Élie,
On 12/17/2017 06:55 PM, Elie Roudninski wrote:
> Hello Michael,
>
> I noticed a small typo in the man page of sigaltstack in the example
> section, a { is missing :
> http://man7.org/linux/man-pages/man2/sigaltstack.2.html
>
> I believe :
>
>> if (sigaltstack(&ss, NULL) == -1)
>> perror("sigaltstack");
>> exit(EXIT_FAILURE);
>> }
>
> should be :
>
>> if (sigaltstack(&ss, NULL) == -1) {
>> perror("sigaltstack");
>> exit(EXIT_FAILURE);
>> }
Thanks. Fixed now.
> See you next year, and thank you for maintaining the manpages :)
>
> Best regards,
>
> Elie ROUDNINSKI
>
> P.S : sorry for previous email with HTML ...
No problem. See you next year!
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-18 16:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAJJ5kavLdD33orcz4fDHcBwAM_T0RD8Xaja78vdBe2x8=wHbKw@mail.gmail.com>
[not found] ` <CAJJ5kavLdD33orcz4fDHcBwAM_T0RD8Xaja78vdBe2x8=wHbKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-17 17:55 ` Fwd: Missing { in sigaltstack example code Elie Roudninski
[not found] ` <CAJJ5katC1h_cpoZRuzUNybeaD+3FBxjFtK9v7GFXCms7kd3bYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-18 16:11 ` 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.