On Tue, Apr 16, 2013 at 09:24:03PM +0100, Wols Lists wrote:
On 16/04/13 20:28, Lionel Elie Mamane wrote:
On Tue, Apr 16, 2013 at 03:16:25PM +0100, Wols Lists wrote:
I can't get my argument casting right - in the original
code, matchIgnoreAsciiCaseAsciiL wraps its argument in
RTL_CONSTASCII_STRINGPARAM.
RTL_CONSTASCII_STRINGPARAM is a hack/optimisation specific to
compile-time constants. With your change, the string is not anymore
a compile-time constant, so just use
equalsIgnoreAsciiCaseAscii()
I'm puzzled that it's not a compile-time constant
Well, it is not even a run-time constant: at each iteration of the
loop, it is a different value.
As soon as LO has built successfully, I'll sort out the patch and ask
someone to test it :-)
The PostgreSQL driver is (particularly) my area, so keep me in CC.
If you are interested in working on the Postgres driver, have a look
at https://bugs.freedesktop.org/show_bug.cgi?id=43369
There are also a few bugs I didn't have time to look at.
--
Lionel
Context
- Re: patch for postgresql driver (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.