freebsd-skq/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 Make hastctl list command output current queue sizes. 2013-10-26 08:38:21 +00:00
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 - Add support for 'memsync' mode. This is the fastest replication mode that's 2013-02-17 21:12:34 +00:00
hast_proto.h
hast.conf.5 mdoc: paragraph improvements. 2015-01-04 12:49:24 +00:00
hast.h Make hastctl list command output current queue sizes. 2013-10-26 08:38:21 +00:00
hastd.8 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
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 Fix compiler warnings. 2013-12-10 20:02:09 +00:00
nv.h
parse.y Improve compatibility with old flex and fix build with GCC. 2013-05-22 17:47:45 +00:00
pjdlog.c
pjdlog.h Revert r228695. We use __func__ here as a format to distinguish between 2012-11-05 00:38:14 +00:00
primary.c Add lock annotations to the threading API used by hastd. 2014-09-01 18:37:17 +00:00
proto_common.c
proto_impl.h
proto_socketpair.c
proto_tcp.c
proto_uds.c
proto.c Fix compiler warnings. 2013-12-10 20:02:09 +00:00
proto.h
rangelock.c
rangelock.h
refcnt.h Drop the 3rd clause from all 3 clause BSD licenses where I am the sole 2014-02-05 18:13:27 +00:00
secondary.c Send wakeup to threads waiting on empty queue before releasing the 2013-12-10 20:06:41 +00:00
subr.c Use nitems() from sys/param.h. 2016-04-20 00:55:35 +00:00
subr.h
synch.h Add lock annotations to the threading API used by hastd. 2014-09-01 18:37:17 +00:00
token.l Improve compatibility with old flex and fix build with GCC. 2013-05-22 17:47:45 +00:00