~ubuntu-branches/ubuntu/trusty/bash/trusty-security

« back to all changes in this revision

Viewing changes to debian/patches/various.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2002-04-08 20:51:41 UTC
  • Revision ID: james.westby@ubuntu.com-20020408205141-p16ukpd93kg6ce7g
Tags: 2.05a-11
* Don't mishandle negative pid in `kill' builtin (closes: #133927, #137742).
* builtins(1) doesn't document `for' (closes: #118755).
* Add /usr/share/bash_completion directory to source package specific
  completion files.
* Update to bash_completion 20020408 (v1.264).
  Closes: #133109, #139375, #139675, #134713, #141134.
* Add completion to /etc/skel/.bashrc (commented out). Closes: #138921.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -e
 
2
 
 
3
if [ $# -eq 3 -a "$2" = '-d' ]; then
 
4
    pdir="-d $3"
 
5
elif [ $# -ne 1 ]; then
 
6
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
7
    exit 1
 
8
fi
 
9
case "$1" in
 
10
    -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
 
11
    -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
 
12
    *)
 
13
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
14
        exit 1
 
15
esac
 
16
exit 0
 
17
 
 
18
# DP: a header include change
 
19
 
 
20
--- bash-2.02.1.orig/general.h
 
21
+++ bash-2.02.1/general.h
 
22
@@ -21,6 +21,7 @@
 
23
 #if !defined (_GENERAL_H_)
 
24
 #define _GENERAL_H_
 
25
 
 
26
+#include <sys/types.h>
 
27
 #include "stdc.h"
 
28
 
 
29
 #include "bashtypes.h"