[PATCH] huge optimization for wv; also fix byte problem


Subject: [PATCH] huge optimization for wv; also fix byte problem
From: Vlad Harchev (hvv@hippo.ru)
Date: Sat Feb 17 2001 - 11:33:12 CST


 Hi,

 Here is a patch to text.c from curent Wv that wrote my friend Walery
Studennikov <hqsoftware@mail.ru> (he doesn't have internet access right now,
so he asked me to send this patch), that does the following:

* caches iconv descriptor (so new iconv handle is not opened and closed for
  each character in the document) - this should greatly improve .doc file
  import.
* Fix for byte order problem of wvWare utility (that problem was partially
  fixed - only the functions that used by AW are fixed, but the functions that
  are used for conversion by wvWare binary were not fixed). He says that this
  patch makes wvWare on his RedHat7.0 box producing reasonable characters
  again in the output (he says that without the patch, any word2k file would
  produce a garbage on the output of, say, wvHtml script).

 Patched wv also works fine on my RH6.0 box - so I suppose it was fixed on all
 platforms now.

 I repeat, this is a patch to text.c (header containing file name has been
stripped).

 Best regards,
  -Vlad




This archive was generated by hypermail 2b25 : Sat Feb 17 2001 - 12:07:51 CST