summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/glibcbug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.3.2/glibcbug.patch')
-rw-r--r--packages/glibc/glibc-2.3.2/glibcbug.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.3.2/glibcbug.patch b/packages/glibc/glibc-2.3.2/glibcbug.patch
index e69de29bb2..6005b79dbd 100644
--- a/packages/glibc/glibc-2.3.2/glibcbug.patch
+++ b/packages/glibc/glibc-2.3.2/glibcbug.patch
@@ -0,0 +1,22 @@
+--- glibcbug.in.orig Fri Jan 11 08:28:28 2002
++++ glibcbug.in Thu Jan 10 21:32:31 2002
+@@ -99,3 +99,5 @@
+ else
+ EDIT="$VISUAL"
+ fi
++# Ensure the editor exists
++command -v "$EDIT" > /dev/null 2>&1 || EDIT=sensible-editor
+
+ # Find out some information.
+ SYSTEM=`( [ -f /bin/uname ] && /bin/uname -a ) || \
+--- glibcbug.in 1999/05/13 10:22:38 1.17
++++ glibcbug.in 1999/06/02 12:00:43
+@@ -43,7 +43,7 @@
+
+ BUGADDR=${1-$BUGGLIBC}
+
+-: ${EDITOR=emacs}
++: ${EDITOR=sensible-editor}
+
+ : ${USER=${LOGNAME-`whoami`}}
+