[[email protected]: Bug#245385: links crashes if the language is set to Hungarian]

Peter Gervai <[email protected]> Fri, 23 Apr 2004 17:49:59 +0200
Newsgroups gmane.comp.web.links.list
Message-ID <[email protected]>
----- Forwarded message from Nohl Attila Rajmund <[email protected]> -----

Package: links
Version: 0.99-1
Severity: normal


When the language of links is set to Hungarian, links crashes:
INTERNAL ERROR at language.c:101: Unknown charset for language
Hungarian.

Forcing core dump
Szegmens hiba (core dumped)

The problem is with the languages.inc file - the hungarian charset was
set to ISO-8858-2 instead of ISO-8859-2. The following patch fixes the
problem:
diff -r -U3 links-0.99/language.inc links-0.99.new/language.inc
--- links-0.99/language.inc     2004-04-06 23:25:14.000000000 +0200
+++ links-0.99.new/language.inc 2004-04-22 22:59:57.000000000 +0200
@@ -5612,7 +5612,7 @@

 struct translation translation_hungarian [] = {
   0, NULL,
-  T__CHAR_SET, "ISO-8858-2",
+  T__CHAR_SET, "ISO-8859-2",
   T__LANGUAGE, "Hungarian",
   T_BAD_NUMBER, "Hibás szám",
   T_NUMBER_EXPECTED, "Szám nem megengedett a mezőben",
	     
_______________________________________________
Links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list