Package: mgdiff
Version: 1.0-28
Severity: important
rmgdiff/rmgdiff.awk scripts can't parse localized output of the 'diff'
utility, i.e. in cases when the LC_MESSAGES part of locale settings differs
from "C" or English. The fix is a pretty simple though:
--- /usr/bin/rmgdiff 2005-10-26 01:12:05.000000000 +0400
+++ /tmp/rmgdiff 2006-09-13 18:05:48.000000000 +0400
@@ -172,7 +172,7 @@
exit 1
fi
-exec diff -rq "$1" "$2" | awk -v debug="$DEBUG" \
+LC_MESSAGES=C exec diff -rq "$1" "$2" | awk -v debug="$DEBUG" \
-v dir1="$1" \
-v dir2="$2" \
-v rmgdiff_gui="$RMGDIFF_GUI" \
That should not have any side effects, because there are no localized
programs in mgdiff package (and rmgdiff does not work without changing
locale anyway).
Best regards,
Andrey
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686-smp
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages mgdiff depends on:
ii debianutils 2.17 Miscellaneous utilities specific t
ii file 4.17-3 Determines file type using "magic"
ii lesstif2 1:0.94.4-2 OSF/Motif 2.1 implementation relea
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libsm6 1:1.0.1-2 X11 Session Management library
ii libx11-6 2:1.0.0-8 X11 client-side library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii mawk 1.3.3-11 a pattern scanning and text proces
ii xlibs 6.9.0.dfsg.1-6 X Window System client libraries m
mgdiff recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]