Re: Curious about this patch

From: Dom Lachowicz (doml@appligent.com)
Date: Mon Apr 15 2002 - 16:35:18 EDT

  • Next message: Michiel Toneman: "Re: A FAQ with an answer!"

    Great patch. Committed.

    LANG=de_DE@euro should work now.

    Dom

    On Mon, 2002-04-15 at 16:30, Blue Lizard wrote:
    > 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:36:36 EDT