Changeset 5619:16fe78ec277c in roaraudio for libroar/pinentry.c


Ignore:
Timestamp:
08/09/12 00:01:15 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Implemented watchdog (Closes: #291)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/pinentry.c

    r5381 r5619  
    9999   break; 
    100100  case 0: 
     101    roar_watchdog_stop(); 
     102 
    101103    close(in[0]); 
    102104    close(out[1]); 
     
    105107 
    106108    if ( dup2(out[0], ROAR_STDIN) == -1 ) 
    107      _exit(1); 
     109     ROAR_U_EXIT(1); 
    108110 
    109111    if ( dup2(in[1], ROAR_STDOUT) == -1 ) 
    110      _exit(1); 
     112     ROAR_U_EXIT(1); 
    111113 
    112114    execlp(ROAR_HAVE_BIN_PINENTRY, "RoarAudio", "--display", display, "--ttytype", term, "--ttyname", tty, NULL); 
    113115 
    114     _exit(1); 
     116    ROAR_U_EXIT(1); 
    115117   break; 
    116118 } 
Note: See TracChangeset for help on using the changeset viewer.