bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: errno --> errno name ?


From: Thien-Thi Nguyen
Subject: Re: errno --> errno name ?
Date: Tue, 07 Jun 2011 07:41:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Sam Steingold <address@hidden>
() Mon, 06 Jun 2011 18:38:00 -0400

   Absolutely not.  The whole point of my request is that I will be
   maintaining _less_ code, not more.

Speaking of less, Guile 1.4.x is withering away, so this excerpt from
libguile/Makefile.am might merit a new home someday reformulated for gnulib.

errno-syms.c: $(top_builddir)/config.status
        $(srcdir)/mksyms errno.h '^E.' > $@

signal-syms.c: $(top_builddir)/config.status
        $(srcdir)/mksyms signal.h '^SIG[A-Z]' > $@
        $(srcdir)/mksyms signal.h '^SA_' >> $@

The referenced script mksyms is attached.  Its core is the standard
header extraction (no big deal); the bonus is that it has a data area,
as well, to retain past learnings.

I post this in FWIW spirit.

Attachment: mksyms
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]