On Fri, Nov 14, 2014 at 11:29 AM, Kamil Rytarowski <[email protected]> wrote:
> As maintaining local patches or forking mg(1) for plain compatibility
> is doubtful, I'm going to send you a set of patches.
>
> I don't want to make noise with a mail per patch, so I'm attaching all
> patches to this mail.
> Please review (if needed adapt) and merge.
>
> List of files:
...
> 0002-Add-missing-include-for-struct-timespec-NetBSD.patch

sysdef.h should include <time.h> for struct timespec; <sys/time.h> is
not required to provide it.

...
> 0006-Enhance-type-correctness-cast-parameter-of-isspace-3.patch

This diff is wrong, sorry.  The code where a ctype function is being
called on a char from a char * pointer should be casting to (unsigned
char); the code where 'c' is set from lgetc() should declare c as an
int, as lgetc() does the necessary cast.


Philip Guenther

Reply via email to