~ubuntu-branches/ubuntu/utopic/9base/utopic

« back to all changes in this revision

Viewing changes to lib9/notify.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-08-20 17:34:06 UTC
  • mfrom: (6.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090820173406-xpwqa9ruyevvc0ut
* Updating maintainer field.
* Updating vcs fields.
* Updating package to standards version 3.8.3.
* Updatin variables writing in rules to consistent style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
{
39
39
        Restart = 1<<0,
40
40
        Ignore = 1<<1,
 
41
        NoNotify = 1<<2,
41
42
};
42
43
 
43
44
static Sig sigs[] = {
58
59
        SIGPIPE,                Ignore,
59
60
        SIGALRM,                0,
60
61
        SIGTERM,                0,
61
 
        SIGTSTP,                Restart|Ignore,
 
62
        SIGTSTP,                Restart|Ignore|NoNotify,
62
63
/*      SIGTTIN,                Restart|Ignore, */
63
64
/*      SIGTTOU,                Restart|Ignore, */
64
65
        SIGXCPU,                0,
67
68
        SIGUSR1,                0,
68
69
        SIGUSR2,                0,
69
70
#ifdef SIGWINCH
70
 
        SIGWINCH,       Restart|Ignore,
 
71
        SIGWINCH,       Restart|Ignore|NoNotify,
71
72
#endif
72
73
#ifdef SIGINFO
73
 
        SIGINFO,                Restart|Ignore,
 
74
        SIGINFO,                Restart|Ignore|NoNotify,
74
75
#endif
75
76
};
76
77
 
266
267
                 */
267
268
                if(handler(sig->sig) != SIG_DFL)
268
269
                        continue;
269
 
                notifyseton(sig->sig, 1);
 
270
                notifyseton(sig->sig, !(sig->flags&NoNotify));
270
271
        }
271
272
}
272
273