public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Final Edits to sig2str/str2sig
@ 2021-08-03  3:54 Matt Joyce
  2021-08-03  3:54 ` [PATCH 1/1] libc: Added implementation for sig2str/str2sig Matt Joyce
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Joyce @ 2021-08-03  3:54 UTC (permalink / raw)
  To: newlib; +Cc: Matt Joyce

Dear Newlib Maintainers,

As recommended on 2 Aug, I am submitting edits to the sig2str
implementation to:

1) use strlcpy and snprintf instead of strcpy and sprintf.
2) fix typos in the header.

Thank you very much for your time!

Sincerely,

Matt

Matt Joyce (1):
  libc: Added implementation for sig2str/str2sig.

 newlib/libc/include/sys/signal.h |  17 ++
 newlib/libc/signal/Makefile.am   |   4 +-
 newlib/libc/signal/sig2str.c     | 297 +++++++++++++++++++++++++++++++
 3 files changed, 316 insertions(+), 2 deletions(-)
 create mode 100644 newlib/libc/signal/sig2str.c

-- 
2.31.1


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

end of thread, other threads:[~2021-08-03 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03  3:54 [PATCH 0/1] Final Edits to sig2str/str2sig Matt Joyce
2021-08-03  3:54 ` [PATCH 1/1] libc: Added implementation for sig2str/str2sig Matt Joyce
2021-08-03  7:44   ` Corinna Vinschen
2021-08-03 18:01     ` Matthew Joyce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).