Bug#34721: libc6: glibcbug requires emacs
Package: libc6
Version: 2.1.1-0pre1.3
The script /usr/bin/glibcbug has emacs hard coded into it on line 46.
Currently, it checks for the EDITOR environment variable, and if that is not
set, then it uses emacs.
This should be changed so that if EDITOR is not set, it checks
/usr/bin/editor before going to a predefined editor.
Something like
if [ "$EDITOR" = "" ]; then
EDITOR="$VISUAL"
if [ "$EDITOR" = "" ]; then
if [ -x /usr/bin/editor ]; then
EDITOR="$($REALPATH /usr/bin/editor)"
else
if [ ! -x /bin/ae ]; then
echo $"$0: Cannot locate a texteditor." >&2
exit 1
fi
EDITOR="ae"
fi
fi
fi
(stolen from /usr/bin/bug) should do the trick.
-- System Information
Debian Release: potato
Kernel Version: Linux glibcboy 2.2.3 #11 Fri Mar 12 16:49:42 CST 1999 i686 unknown
Versions of the packages libc6 depends on:
ii ldso 1.9.10-1.1 The Linux dynamic linker, library and utilit
Reply to: