|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-25 22:11 UTC] info at jianway dot co dot uk
[2012-06-25 22:45 UTC] info at jianway dot co dot uk
[2012-06-27 00:16 UTC] info at jianway dot co dot uk
[2020-03-02 10:35 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Package: enchant
+Package: Enchant related
-Assigned To:
+Assigned To: cmb
[2020-03-02 10:35 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
Description: ------------ Calling enchant_broker_request_pwl_dict on a non-writable file triggers an error ("Couldn't open personal wordlist"). Calling the method on a writable file truncates it. Installed providers: zemberek /usr/lib/enchant/libenchant_zemberek.so hspell /usr/lib/enchant/libenchant_hspell.so ispell /usr/lib/enchant/libenchant_ispell.so myspell /usr/lib/enchant/libenchant_myspell.so aspell /usr/lib/enchant/libenchant_aspell.so Software versions: aspell_0.60.6-2_amd64 hunspell_1.2.8-4ubuntu2_amd64 ispell_3.1.20.0-4.5ubuntu1_amd64 hspell_1.0-4_amd64 Reproduce code: --------------- $broker = enchant_broker_init(); $dictionary = enchant_broker_request_pwl_dict($broker, $dict_file); var_dump($dictionary); Expected result: ---------------- a resource representation of the custom dictionary Actual result: -------------- false