[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] problem with preconv and sample_docs.mom
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] problem with preconv and sample_docs.mom |
Date: |
Sun, 05 Nov 2017 14:19:44 +0000 |
Hi Bertrand,
> You are right; here is a patch to fix all that, does it look OK to you?
...
> + /* uchardet 0.0.1 could return an empty string instead of NULL */
> + if (charset && *charset) {
> ret = (char *)calloc(strlen(charset) + 1, 1);
> strcpy(ret, charset);
> }
Yep. The calloc() could be malloc() for a little less noise.
Thanks for fixing it.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
- [Groff] problem with preconv and sample_docs.mom, G. Branden Robinson, 2017/11/02
- Re: [Groff] problem with preconv and sample_docs.mom, G. Branden Robinson, 2017/11/02
- Re: [Groff] problem with preconv and sample_docs.mom, Ralph Corderoy, 2017/11/02
- Re: [Groff] problem with preconv and sample_docs.mom, G. Branden Robinson, 2017/11/03
- Re: [Groff] problem with preconv and sample_docs.mom, Bertrand Garrigues, 2017/11/04
- Re: [Groff] problem with preconv and sample_docs.mom, G. Branden Robinson, 2017/11/04
- Re: [Groff] problem with preconv and sample_docs.mom, Bertrand Garrigues, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, Ralph Corderoy, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, Bertrand Garrigues, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom,
Ralph Corderoy <=
- Re: [Groff] problem with preconv and sample_docs.mom, G. Branden Robinson, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, Ralph Corderoy, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, Bertrand Garrigues, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, Bjarni Ingi Gislason, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, Peter Schaffter, 2017/11/05
- Re: [Groff] problem with preconv and sample_docs.mom, G. Branden Robinson, 2017/11/06
- Re: [Groff] problem with preconv and sample_docs.mom, Ingo Schwarze, 2017/11/06
- Re: [Groff] problem with preconv and sample_docs.mom, Tadziu Hoffmann, 2017/11/06
- Re: [Groff] problem with preconv and sample_docs.mom, James K. Lowden, 2017/11/07
- Re: [Groff] problem with preconv and sample_docs.mom, Ralph Corderoy, 2017/11/08