~ubuntu-branches/ubuntu/lucid/mpg123/lucid

« back to all changes in this revision

Viewing changes to term.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-09-07 15:57:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040907155757-pgypftl9bt2uqyyl
Tags: 0.59r-16
* layer2.c: Fix buffer overflow in layer2 decoder (CVE ID CAN-2004-0805).
* Makefile: Fix compiler options to build for generic targets on ARM,
  but optimise for xscale. Closes: #261255
* README.3DNOW, dct36_3dnow.s, dct64_3dnow.s, decode_3dnow.s,
  decode_i386.c, equalizer_3dnow.s, getcpuflags.s, layer3.c, mpg123.c,
  mpg123.h, tabinit.c, debian/rules: Apply patch by KIMURA Takuhiro and
  Syuuhei Kashiyama to fix errors in 3dnow-optimised decoding.
  Thanks to Alberto Garcia for the patch-merging. Closes: #242212
* debian/prerm: De-register mp3-decoder alternative. Closes: #222982
* debian/changelog: Convert to utf8.
* debian/control: Bump standards version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include "term.h"
13
13
#include "common.h"
14
14
 
 
15
extern int buffer_pid;
 
16
 
15
17
static int term_enable = 0;
16
18
static struct termios old_tio;
17
19
 
126
128
          break;
127
129
        case NEXT_KEY:
128
130
          audio_queueflush(&ai);
129
 
          kill(0,SIGINT);
 
131
          if (buffer_pid)
 
132
                  kill(buffer_pid, SIGINT);
 
133
          kill(getpid(), SIGINT);
130
134
          break;
131
135
        case QUIT_KEY:
132
 
          kill(0,SIGTERM);
 
136
          if (buffer_pid)
 
137
                  kill(buffer_pid, SIGTERM);
 
138
          kill(getpid(), SIGTERM);
133
139
          break;
134
140
        case PAUSE_KEY:
135
141
          paused=1-paused;