• Patch: Elm ME+ 2.5 PLalpha52 -> Elm ME+ 2.5 PLalpha53 [1/2] (4/6)

    From Kari Hurtta@21:1/5 to All on Thu Dec 10 20:40:09 2020
    [continued from previous message]

    + "free_domain_info: [%p] %Q: busy !!!!!\n",
    + (*ptr),(*ptr)->dompart ? (*ptr)->dompart : "(not set)"));
    +
    + (*ptr)->busy = 0;
    + }
    +
    if ((*ptr)->dompart) {
    free((*ptr)->dompart);
    (*ptr)->dompart = NULL;
    ***************
    *** 2327,2333 ****
    const unsigned char data[];
    const size_t data_len;
    {
    ! /* This produces different result on 64-bit ad 32-bit enviroment */

    static const size_t base = sizeof SYMBOLS;
    static unsigned int bits = 0;
    --- 2349,2366 ----
    const unsigned char data[];
    const size_t data_len;
    {
    ! /* This produces different result on 64-bit ad 32-bit enviroment
    !
    ! And different result if HAVE_INT128 is defined and __int128
    ! is available.
    ! */
    !
    !
    ! #ifdef HAVE_INT128
    ! typedef unsigned __int128 data_chunk;
    ! #else
    ! typedef unsigned long data_chunk;
    ! #endif

    static const size_t base = sizeof SYMBOLS;
    static unsigned int bits = 0;
    ***************
    *** 2335,2341 ****

    char * ret = NULL;
    size_t ret_len = 0;
    ! size_t malloc_len = 1 + data_len / sizeof (unsigned long); /* \0 and separating . characters */
    size_t expand = 0;
    size_t i;
    char * temp = NULL;
    --- 2368,2374 ----

    char * ret = NULL;
    size_t ret_len = 0;
    ! size_t malloc_len = 1 + data_len / sizeof (data_chunk); /* \0 and separating . characters */
    size_t expand = 0;
    size_t i;
    char * temp = NULL;
    ***********