Re: slink's dpkg
This patch will work around the problem. There is some problem in
dpkg-dev's i18n routines apparently, but I don't know enough about
i18n to look for a real solution.
===================================================================
RCS file: /cvs/dpkg/dpkg/dpkg-deb/main.c,v
retrieving revision 1.1
diff -u -r1.1 main.c
--- main.c 1999/01/29 08:53:59 1.1
+++ main.c 1999/03/01 10:00:59
@@ -136,6 +136,7 @@
int main(int argc, const char *const *argv) {
jmp_buf ejbuf;
+ putenv("LANG=C");
setlocale(LC_ALL, "");
setlocale(LC_NUMERIC, "POSIX");
bindtextdomain(PACKAGE, LOCALEDIR);
In my opinion, this is something we must fix for slink. Having dpkg
segfault on all non-English setups is very bad. Branden told me on
irc that he probably did have LANG set when it was crashing for him on
X upgrades.
Guy
Reply to: