summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-12 07:36:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-12 07:36:15 -0600
commitd0c76ccacf0dc8988f9617ad82bf4349f456bb08 (patch)
treedff6dde66182f380b40c6982d28ad40b1bf33be3 /misc
parent948af9557a2876e13e3faabd6c387b8c91a4d144 (diff)
downloadnuttx-d0c76ccacf0dc8988f9617ad82bf4349f456bb08.tar.gz
nuttx-d0c76ccacf0dc8988f9617ad82bf4349f456bb08.tar.bz2
nuttx-d0c76ccacf0dc8988f9617ad82bf4349f456bb08.zip
The definition of strncpy() is that empty space should be zero-filled, the patch adds the zero filling (I didn’t know this, see e.g. the POSIX spec here: http://pubs.opengroup.org/onlinepubs/7908799/xsh/strncpy.html). From Lorenz Meier.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions