[Mingw-w64-public] [PATCH] Add sysexits.h, err.h, err functions

2017-03-08 Thread Kelvin Sherlock
This adds the very useful sysexits.h, err.h, and err.c (err(3), errc(3), errx(3), warn(3), warnc(3), warnx(3), etc). getopt(3) previously included its own static copy of warn(), so that was updated to use the real thing. --- mingw-w64-crt/Makefile.am| 2 +- mingw-w64-crt/misc/err.c

[Mingw-w64-public] [PATCH] Add sysexits.h, err.h, err functions

2017-03-07 Thread Kelvin Sherlock
This adds the very useful sysexits.h, err.h, and err.c (err(3), errc(3), errx(3), warn(3), warnc(3), warnx(3), etc). getopt(3) previously included its own static copy of warn(), so that was updated to use the real thing. Thanks, Kelvin -