Commit d175f265 authored by Niels Möller's avatar Niels Möller
Browse files

* src/argp/argp-help.c (argp_doc): Use strndup() instead of

__strndup(). I couldn't get preprocessor hackery to work.

Rev: src/argp/argp-help.c:1.3
parent 939f4a42
......@@ -1454,7 +1454,7 @@ argp_doc (const struct argp *argp, const struct argp_state *state,
{
if (inp_text_limit)
/* Copy INP_TEXT so that it's nul-terminated. */
inp_text = __strndup (inp_text, inp_text_limit);
inp_text = strndup (inp_text, inp_text_limit);
input = __argp_input (argp, state);
text =
(*argp->help_filter) (post
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment