]> diplodocus.org Git - nmh/commitdiff
If str == buffer, then do NOT do a strncpy(buffer, str). Many systems
authorKen Hornstein <kenh@pobox.com>
Sun, 23 Aug 2015 02:16:22 +0000 (22:16 -0400)
committerKen Hornstein <kenh@pobox.com>
Sun, 23 Aug 2015 02:16:22 +0000 (22:16 -0400)
this works, but on some systems it causes a SIGABRT.  POSIX says the
behavior on overlapping copies with str*cpy() is officially undefined.


No differences found