Search found 6 matches

by Kyros
Tue Apr 16, 2024 10:46 am
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 69531

Re: Request: make parser locale independent

I don't think there is much to contribute, the changes i made are extremely small:

YAJL/QCLSRC/BUILDYAJL.CLLE:
Change the value of &tgtrls from V7R1M0 to V6R1M0
Change the value of &VERSION from being dynamic to V6R1M0 (this makes it so that the "modern" part is not even compiled)

YAJL ...
by Kyros
Mon Apr 15, 2024 4:07 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 69531

Re: Request: make parser locale independent

I spent the entire afternoon trying to figure out what i was doing wrong, but i did not arrive to a conclusion :?

I was obviusly doing something wrong because at some point after many attempts i managed to get the new source on my IBM i...
After that i edited YAJLR4 to comment out the function ...
by Kyros
Fri Apr 12, 2024 6:52 am
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 69531

Re: Request: make parser locale independent

Hi Scott, so here is how i download and compile YAJL:

i download the first package of the table, the one named "YAJL for IBM i". I don't use the V6R1M0 version because i already noticed that it was far behind the other version.
What i then do is follow the readme section named "TO INSTALL ALL ...
by Kyros
Thu Apr 11, 2024 1:56 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 69531

Re: Request: make parser locale independent

I compiled the latest version and commented out the part where i forced the locale but it seems that the problem persists.

Here is a portion of my code:


// oldLocalePtr = setlocale (LC_ALL : *NULL);
// oldLocaleSave = %str(oldLocalePtr);
// setlocale (LC_ALL: LOCALETYPE_POSIX);

// Input ...
by Kyros
Tue Apr 09, 2024 9:51 am
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 69531

Request: make parser locale independent

I noticed that one of the latest bugfixes introduced locale-dependency in the parser. By that i mean that the parser does not work when used from an environment that uses "locales" (in particular the LC_NUMERIC locale) that is not the default "POSIX" / US locale.

This was what i discovered:

I am ...
by Kyros
Wed Sep 13, 2023 1:30 pm
Forum: HTTPAPI
Topic: Problem in the latest zip installation file (1.47 according to CHANGELOG)
Replies: 3
Views: 16017

Re: Problem in the latest zip installation file (1.47 according to CHANGELOG)

Hi Roberto,

i can confirm that i have the same exact problem you are describing.
Do you mind sharing the older version of HTTPAPI that you used so i can do the same? (i can't seem to find older versions of HTTPAPI available to the public).
Did copying from the older version fix the error?

Thanks ...