URI: 
       tUse NSIG instead of _NSIG - ratox - FIFO based tox client
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit fd4289ead113e4594a35907b2fbda7fdbd24bb5a
   DIR parent 6ec82b9835037c4dc7938c434f667c4b5b8d8401
  HTML Author: sin <sin@2f30.org>
       Date:   Thu,  9 Oct 2014 11:23:14 +0100
       
       Use NSIG instead of _NSIG
       
       Diffstat:
         M readpassphrase.c                    |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/readpassphrase.c b/readpassphrase.c
       t@@ -42,7 +42,7 @@
        #  define _POSIX_VDISABLE       VDISABLE
        #endif
        
       -static volatile sig_atomic_t signo[_NSIG];
       +static volatile sig_atomic_t signo[NSIG];
        
        static void handler(int);
        
       t@@ -63,7 +63,7 @@ readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags)
                }
        
        restart:
       -        for (i = 0; i < _NSIG; i++)
       +        for (i = 0; i < NSIG; i++)
                        signo[i] = 0;
                nr = -1;
                save_errno = 0;
       t@@ -164,7 +164,7 @@ restart:
                 * If we were interrupted by a signal, resend it to ourselves
                 * now that we have restored the signal handlers.
                 */
       -        for (i = 0; i < _NSIG; i++) {
       +        for (i = 0; i < NSIG; i++) {
                        if (signo[i]) {
                                kill(getpid(), i);
                                switch (i) {