Re: [Patch] argp: fix line wrapping in --help output

2016-02-22 Thread Simon Reinhardt
ping Am 09.02.2016 um 16:51 schrieb Simon Reinhardt: > Hi, > > Argp provides line wrapping of help and usage output. For this it > maintains a buffer in the struct argp_fmtstream_t. During line breaking > the buffer's contents grow due to the inserted spaces needed to indent > the lines (function

[Patch] argp: fix line wrapping in --help output

2016-02-09 Thread Simon Reinhardt
Hi, Argp provides line wrapping of help and usage output. For this it maintains a buffer in the struct argp_fmtstream_t. During line breaking the buffer's contents grow due to the inserted spaces needed to indent the lines (function __argp_fmtstream_update in lib/argp-fmtstream.c). This breaks onc