diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-21 21:57:37 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-26 14:05:44 +0100 |
commit | 2d91aeafcf87e32fd3b5d447e20f421ee5d9f91f (patch) | |
tree | 82aa173cfb284c712dbd773ef367c0ce27f9e640 /xen/configfrag.ac | |
parent | 241317985705f7a4cc81286692322c23fce03104 (diff) |
kern: fix mig_strncpy
Previously, the function mig_strncpy would always zero-terminate the
destination string. Make mig_strncpy behave like mig_strncpy and
strncpy in the glibc. Also fix the implementation of mig_strncpy to
return the length of the written string to align the implementation
with the declaration in include/mach/mig_support.h.
* kern/ipc_mig.c (mig_strncpy): Do not zero-terminate the destination
string. Return length of destination string.
Diffstat (limited to 'xen/configfrag.ac')
0 files changed, 0 insertions, 0 deletions