看板 DFBSD_bugs 關於我們 聯絡資訊
On DragonFly 2.6/x86-64, internationalized programs crash when the LANG environment variable is set to a non-English value. The following examples use psql from databases/postgresql84 but any other program using translated text strings I have tested crashes in the same way: [DragonFly/i386 and /x86-64, English locale] $ LANG="" psql template1 psql (8.4.4) Type "help" for help. .... $ LANG="en_US.UTF-8" psql template1 psql (8.4.4) .... [DragonFly/i386, non English locale] $ LANG="fr_FR.UTF-8" psql template1 psql (8.4.4) Saisissez ꬠhelp 묠pour l'aide. .... [DragonFly/x86-64, non English locale] $ LANG="fr_FR.UTF-8" psql template1 [1] 40373 segmentation fault (core dumped) LANG="fr_FR.UTF-8" psql template1 According to gdb, the crashes occur in libintl_dcigettext(), at dcigettext.c:669. This file is a part of pkgsrc devel/gettext-lib -- Francois Tigeot