guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 05/05: Remove SIGEV constant definitions.


From: Ludovic Courtès
Subject: [Guile-commits] 05/05: Remove SIGEV constant definitions.
Date: Thu, 29 Oct 2015 22:43:08 +0000

civodul pushed a commit to branch stable-2.0
in repository guile.

commit c3f95ec2c2762cc7feb6388a7e4f13efa0f8bb7b
Author: David Michael <address@hidden>
Date:   Wed Jul 22 12:54:32 2015 -0400

    Remove SIGEV constant definitions.
    
    * libguile/Makefile.am (chknew-E chknew-SIG): Anchor the end of the
      signal/error name pattern to only match alphanumeric symbols.
    * libguile/cpp-SIG.syms (SIGEV_MAX_SIZE, SIGEV_NONE): Remove.
      (SIGEV_PAD_SIZE, SIGEV_SIGNAL, SIGEV_THREAD): Likewise.
      (SIGEV_THREAD_ID): Likewise.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 libguile/Makefile.am  |    2 +-
 libguile/cpp-SIG.syms |    6 ------
 2 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/libguile/Makefile.am b/libguile/Makefile.am
index 5484af4..321a377 100644
--- a/libguile/Makefile.am
+++ b/libguile/Makefile.am
@@ -807,7 +807,7 @@ chknew-E chknew-SIG:
        echo "#include <$${bit}.h>"                             \
         | sed 's/E/errno/;s/SIG/signal/'                       \
         | gcc -dM -E -                                         \
-        | sed 's/^#define //;/^'$$bit'[0-9A-Z][0-9A-Z]*/!d;s/ .*//'    \
+        | sed 's/^#define //;/^'$$bit'[0-9A-Z][0-9A-Z]* /!d;s/ .*//'   \
         | sort | diff -u $$old - | sed '1,2d;/^+/!d;s/^.//'    \
         > TMP ;                                                \
        if [ -s TMP ] ; then new="$$old.NEW" ;                  \
diff --git a/libguile/cpp-SIG.syms b/libguile/cpp-SIG.syms
index 2a619ce..728a294 100644
--- a/libguile/cpp-SIG.syms
+++ b/libguile/cpp-SIG.syms
@@ -6,12 +6,6 @@ SIGCHLD
 SIGCLD
 SIGCONT
 SIGEMT
-SIGEV_MAX_SIZE
-SIGEV_NONE
-SIGEV_PAD_SIZE
-SIGEV_SIGNAL
-SIGEV_THREAD
-SIGEV_THREAD_ID
 SIGFPE
 SIGHUP
 SIGILL



reply via email to

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