public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Matt Joyce <mfjoyce2004@gmail.com>
To: newlib@sourceware.org
Cc: Matt Joyce <mfjoyce2004@gmail.com>
Subject: [PATCH 0/1] Final Edits to sig2str/str2sig
Date: Tue,  3 Aug 2021 05:54:35 +0200	[thread overview]
Message-ID: <20210803035436.819811-1-mfjoyce2004@gmail.com> (raw)

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


             reply	other threads:[~2021-08-03  3:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03  3:54 Matt Joyce [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210803035436.819811-1-mfjoyce2004@gmail.com \
    --to=mfjoyce2004@gmail.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).