emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: suggestion: enable SIGNALS_VIA_CHARACTERS in s/gnu-linux.h


From: Kim F. Storm
Subject: Re: suggestion: enable SIGNALS_VIA_CHARACTERS in s/gnu-linux.h
Date: Fri, 23 Jun 2006 12:08:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Anyway, someone suggested that I try enabling (i.e., uncommenting)
>     SIGNALS_VIA_CHARACTERS in s/gnu-linux.h.  I did that, and it worked
>     fine -- and in fact has been working fine for months, on both a 2.4
>     and a 2.6 kernel.
>
> Ok, let's turn it on.
>

To play it safe, this patch which enables it only for 2.4 and later.


*** gnu-linux.h 06 Feb 2006 18:21:53 +0100      1.94
--- gnu-linux.h 23 Jun 2006 12:06:21 +0200      
***************
*** 52,57 ****
--- 52,60 ----
  #if LINUX_VERSION_CODE >= 0x20000
  #define LINUX_MAP_SHARED_DOES_WORK
  #endif /* LINUX_VERSION_CODE >= 0x20000 */
+ #if LINUX_VERSION_CODE >= 0x20400
+ #define LINUX_SIGNALS_VIA_CHARACTERS_WORKS
+ #endif /* LINUX_VERSION_CODE >= 0x20400 */
  #endif /* HAVE_LINUX_VERSION_H */
  #endif /* emacs */
  #endif /* NOT_C_CODE */
***************
*** 247,255 ****
  #define C_DEBUG_SWITCH
  #endif
  
! /* Let's try this out, just in case.
!    Nah.  Rik Faith <address@hidden> says it doesn't work well.  */
! /* #define SIGNALS_VIA_CHARACTERS */
  
  /* Rob Malouf <address@hidden> says:
     SYSV IPC is standard a standard part of Linux since version 0.99pl10,
--- 250,258 ----
  #define C_DEBUG_SWITCH
  #endif
  
! #ifdef LINUX_SIGNALS_VIA_CHARACTERS_WORKS
! #define SIGNALS_VIA_CHARACTERS
! #endif
  
  /* Rob Malouf <address@hidden> says:
     SYSV IPC is standard a standard part of Linux since version 0.99pl10,

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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