Curious about this patch

From: Blue Lizard (webmaster@dofty.zzn.com)
Date: Mon Apr 15 2002 - 16:30:48 EDT

  • Next message: Dom Lachowicz: "Re: Curious about this patch"

    I looked at two patches used by mandrake for 0.99.1+ today. The first
    is somewhat deprecated (except apparently on mdk), the second made me a
    tad curious.

    Regards.

    --- abiword-0.99.1/abi/src/wp/ap/unix/ap_UnixPrefs.cpp.modifier Fri Sep
    28 11:06:08 2001
    +++ abiword-0.99.1/abi/src/wp/ap/unix/ap_UnixPrefs.cpp Fri Jan 18
    17:36:33 2002
    @@ -102,6 +102,15 @@
        if (lc_ctype != NULL && strlen(lc_ctype) >= 5)
        {
            lc_ctype[2] = '-';
    + char* modifier = strrchr(lc_ctype,'@');
    + /*
    + remove modifier field. It's a right thing since expat
    + already converts data in stringset from ANY encoding to
    + current one (if iconv knows this encoding).
    + */
    + if (modifier)
    + *modifier = '\0';
    +
            char* dot = strrchr(lc_ctype,'.');
     
            /*



    This archive was generated by hypermail 2.1.4 : Mon Apr 15 2002 - 16:31:41 EDT