Dash Archive mirror
 help / color / mirror / Atom feed
From: Steffen Nurpmeso <steffen@sdaoden.eu>
To: "Henrik Lindström" <henrik@lxm.se>
Cc: Herbert Xu <herbert@gondor.apana.org.au>, dash@vger.kernel.org
Subject: Re: [PATCH] Generate signal names at runtime
Date: Mon, 29 Apr 2024 19:17:11 +0200	[thread overview]
Message-ID: <20240429171711.YftL0yTa@steffen%sdaoden.eu> (raw)
In-Reply-To: <d28c0015-3fff-412a-bdb2-39cae101e57f@lxm.se>

Henrik Lindström wrote in
 <d28c0015-3fff-412a-bdb2-39cae101e57f@lxm.se>:
 |Getting the names from libc sounds ideal, but i don't think there's any way
 |to do that with musl, which is what i'm trying to cross compile to. That's
 |why i attempted a more universal solution in my patch, but perhaps there
 |would be interest in musl to add sigabbrev_np instead.
 |
 |As for a fallback, shouldn't the goal be something more similar to my
 |attempt rather than the existing code? Silently building a broken version
 |of dash when cross compiling isn't ideal.

People, adjust that fucking if that is possible on an american
list script of mine (or take it as-is), it requires nothing but
a C compiler (preprocessor) and POSIX (Solaris: xpg4) tools, and
it generates a superset of exactly what you want.  Bug reports
welcome.  I have the same for errno values, too.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

      reply	other threads:[~2024-04-29 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-21 20:46 [PATCH] Generate signal names at runtime Henrik Lindström
2024-04-27 11:47 ` Herbert Xu
2024-04-27 19:44   ` Steffen Nurpmeso
2024-04-29 16:28   ` Henrik Lindström
2024-04-29 17:17     ` Steffen Nurpmeso [this message]

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=20240429171711.YftL0yTa@steffen%sdaoden.eu \
    --to=steffen@sdaoden.eu \
    --cc=dash@vger.kernel.org \
    --cc=henrik@lxm.se \
    --cc=herbert@gondor.apana.org.au \
    /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).