mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
e33d251e8e
There are a couple of places in the source three where we call basename() on constant strings. This is bad, because the prototype standardized by POSIX allows the implementation to use its argument as a storage buffer. This change eliminates some of these unportable calls to basename() in cases where it was only added for cosmetical reasons, namely to trim argv[0]. There's nothing wrong with setting argv[0] to the full path. Reviewed by: jilles Differential Revision: https://reviews.freebsd.org/D6093 |
||
---|---|---|
.. | ||
activemap.c | ||
activemap.h | ||
control.c | ||
control.h | ||
crc32.c | ||
crc32.h | ||
ebuf.c | ||
ebuf.h | ||
event.c | ||
event.h | ||
hast_checksum.c | ||
hast_checksum.h | ||
hast_compression.c | ||
hast_compression.h | ||
hast_proto.c | ||
hast_proto.h | ||
hast.conf.5 | ||
hast.h | ||
hastd.8 | ||
hastd.c | ||
hastd.h | ||
hooks.c | ||
hooks.h | ||
lzf.c | ||
lzf.h | ||
Makefile | ||
Makefile.depend | ||
metadata.c | ||
metadata.h | ||
nv.c | ||
nv.h | ||
parse.y | ||
pjdlog.c | ||
pjdlog.h | ||
primary.c | ||
proto_common.c | ||
proto_impl.h | ||
proto_socketpair.c | ||
proto_tcp.c | ||
proto_uds.c | ||
proto.c | ||
proto.h | ||
rangelock.c | ||
rangelock.h | ||
refcnt.h | ||
secondary.c | ||
subr.c | ||
subr.h | ||
synch.h | ||
token.l |