diff options
author | ed <ed@FreeBSD.org> | 2016-05-25 08:45:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2016-05-25 08:45:03 +0000 |
commit | f826cc44bc0cc847c927d80b226ac8acb72a47b8 (patch) | |
tree | 2ef16d96bd15b21c9c26cf342f4afc6c665c6499 /sys/compat/linuxkpi/common/src/linux_compat.c | |
parent | 351a56086c0253e1f3de85d4a37f5c9419ec7400 (diff) | |
download | FreeBSD-src-f826cc44bc0cc847c927d80b226ac8acb72a47b8.zip FreeBSD-src-f826cc44bc0cc847c927d80b226ac8acb72a47b8.tar.gz |
Make code compile when basename() is POSIX compliant.
The POSIX basename() function is allowed to modify its input buffer,
which means its argument is "char *". Pull a copy of the input string
before computing the base.
Reviewed by: jtl
Differential Revision: https://reviews.freebsd.org/D6465
Diffstat (limited to 'sys/compat/linuxkpi/common/src/linux_compat.c')
0 files changed, 0 insertions, 0 deletions