~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to cmd-line-utils/libedit/sig.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $NetBSD: sig.h,v 1.6 2008/07/12 15:27:14 christos Exp $ */
 
1
/*      $NetBSD: sig.h,v 1.8 2009/02/19 15:20:22 christos Exp $ */
2
2
 
3
3
/*-
4
4
 * Copyright (c) 1992, 1993
56
56
        _DO(SIGTERM)    \
57
57
        _DO(SIGCONT)    \
58
58
        _DO(SIGWINCH)
 
59
#define ALLSIGSNO       7
59
60
 
60
 
typedef void (*el_signalhandler_t)(int);
61
 
typedef el_signalhandler_t *el_signal_t;
 
61
typedef struct {
 
62
        struct sigaction sig_action[ALLSIGSNO];
 
63
        sigset_t sig_set;
 
64
        volatile sig_atomic_t sig_no;
 
65
} *el_signal_t;
62
66
 
63
67
protected void  sig_end(EditLine*);
64
68
protected int   sig_init(EditLine*);