mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Fix './unrealircd backtrace' not working correctly in non-English environments.
The script symlinks any missing tmp/xxxx.so's to the real module name but depends on English statements (ugly, yeah, but it works). With a non-English locale this did previously not work so the backtrace was screwed.
This commit is contained in:
@@ -163,6 +163,11 @@ elif [ "$1" = "backtrace" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# This is needed for the script below and is probably also helpful for the
|
||||
# bug report since you usually want to paste this to the development team.
|
||||
export LANG=C
|
||||
export LC_ALL=C
|
||||
|
||||
# The tmp/*.so files are often already deleted. Here we have some
|
||||
# (ugly) scripting to recreate the tmp/*.so links to the modules *.so files...
|
||||
echo 'info sharedlibrary'|gdb @BINDIR@/unrealircd $corefile 2>/dev/null|\
|
||||
|
||||
Reference in New Issue
Block a user