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

apt and SIGTSTP



Hi Everyone,

Since apt-0.7.7, apt ignores SIGTSTP (^Z in the shell).  I'm used to
ocassionally pausing aptitude processes to examine the dpkg output.  I
think this should be safe with SIGTSTP.  I guess the relevant change
is for dpkg logging:

|      // setups fds
|      fd_set rfds;
|      struct timespec tv;
|      sigset_t sigmask;
|      sigset_t original_sigmask;
|      sigemptyset(&sigmask);
|      sigprocmask(SIG_BLOCK,&sigmask,&original_sigmask);

Is there any reason to disallow tstp?



Reply to: