public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] errno: add numbers to the errno-names
Date: Tue, 20 Sep 2011 16:43:38 +0200	[thread overview]
Message-ID: <20110920144338.GC1915@pengutronix.de> (raw)
In-Reply-To: <CAKgNAkgMoFBJKQhy_mnMuSsdm5TY2SSyoOW3iG70UaqSZeqRKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

On Fri, Sep 09, 2011 at 04:34:52PM +0200, Michael Kerrisk wrote:
> Hello Wolfram,
> 
> On Wed, Jul 13, 2011 at 11:03 PM, Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote:
> > Kernel logs often print errnos as '%d', so having the numbers next to the
> > defined names in the man-page is convenient to find out what went wrong.
> > Also move the indentation from 16 to 21 to make the numbers fit.
> >
> > Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > ---
> >
> > The errorcodes were inserted by a little awk-script which parsed the numbers
> > directly out of the Kernel include-files.
> 
> Which Kernel include files? As I recall there is some variation in
> errno codes across architectures.

Yes, true. Alpha has a custom one :( Pity!

Thanks for the pointer,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      parent reply	other threads:[~2011-09-20 14:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 21:03 [PATCH] errno: add numbers to the errno-names Wolfram Sang
     [not found] ` <1310591022-28752-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-08-16 12:45   ` Wolfram Sang
2011-09-09 14:34   ` Michael Kerrisk
     [not found]     ` <CAKgNAkgMoFBJKQhy_mnMuSsdm5TY2SSyoOW3iG70UaqSZeqRKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-20 14:43       ` Wolfram Sang [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=20110920144338.GC1915@pengutronix.de \
    --to=w.sang-bicnvbalz9megne8c9+irq@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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