On Thu, Jul 16, 2015 at 12:12:27PM +0200, Kamil Rytarowski wrote: > The C standard permits memcpy(3) to affect errno(2).
More like it hasn't explicitly ruled it out. That might or might not be seen as an oversight, but pretty much any compiler uses memcpy(3) under the assumption that it does not. If you really care about this case, please raise a DR against ISO C and get a clarification of the intention, before further changes to src. Joerg