1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00
freebsd/sbin/hastd
Ed Schouten e33d251e8e Remove useless calls to basename().
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
2016-05-01 08:22:11 +00:00
..
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 Use MAX() from sys/param.h. 2016-04-21 06:21:33 +00:00
hastd.h
hooks.c Remove useless calls to basename(). 2016-05-01 08:22:11 +00:00
hooks.h
lzf.c
lzf.h
Makefile Create a package for HAST. 2016-02-08 21:15:07 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
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 Use nitems() from sys/param.h. 2016-04-20 00:55:35 +00:00
subr.h
synch.h
token.l