Re: [HACKERS] PATCH: Allow empty targets in unaccent dictionary

2014-06-29 Thread Mohammad Alhashash
e file to include that file in installation. Should I do this? Thanks, Mohammad Alhashash diff --git a/contrib/unaccent/unaccent.c b/contrib/unaccent/unaccent.c old mode 100644 new mode 100755 index a337df6..eb7e2a3 --- a/contrib/unaccent/unaccent.c +++ b/contrib/unaccent/unaccent.c @@ -105,15 +105

[HACKERS] PATCH: Allow empty targets in unaccent dictionary

2014-04-19 Thread Mohammad Alhashash
to allow empty targets to remove diacritics instead of replacing them. The attached patch modfies unaacent.c so that dictionary parser uses zero-length target when the line has no target. Best Regards, Mohammad Alhashash diff --git a/contrib/unaccent/unaccent.c b/contrib/unaccent/unaccent.c