2d1da845af
20180625: - linking of available hash libraries during runtime 20180505: - fix typo in summary - fix potential hang with small input size - testing fix for BSD - configure enhancement: objdump may be named gobjdump - fix tape end of file marker may be ignored - removed obsolete alpha code 20180410: - build fix for hashing library variants - support tapetest on systems with name variants of open and write - run only network tests for supported address families (patch supplied by Peter Pentchev) - code update for hashing infrastructure - make idev tests usable on more platforms - determine amount of available memory via procfs - option -d unintentionally consumes an argument - idev.c should use libc's names - support use of autoreconf 20180318: - performance optimized defaults - stricter arguments checking of mbuffer.rc - handle FreeBSD's maximum semaphore value transparently - print base 2 dimensions correctly (ki,Mi,Gi,Ti) - FreeBSD patches by Eric Borisch 20171011: - use $(etcdir) consistently for installation - use AC_COMPILE_IF instead of AC_RUN_IF to support cross-compiling - remove forward typedef for dest_t to support older compilers - build fix for Solaris - updated test infrastructure - print pid on every message with --pid - fix: potential hang, when one output fails to open 20170921: - added jumpbuffer reading mode for inconsistent block sizes - code separation into more files for enhanced readability - some cleanup work for global variables - fixed regression in sanity checks - fix: option -f should truncate output file - fix: failed opening of network output should not redirect to stdout - fix: summary printout should respect quiet options 20170806: - add support for libgcrypt - add support for tape aware out-of-space handling - support setting verbosity in config file - suppress gcc's unused result warnings - all have been manually checked - updated install-sh, config.sub, and config.guess - exit cleanly if all outputs failed to open but hashers are left - minor fixes and enhancements - minor code refactoring for clearer structure - some code hardening - build fix for OpenBSD - work around mhash_get_hash_name_static crashing 20170515: - fix false warning on comments in config files - code update for config parsing - makefile compatibility update 20170514: - update: configure update for latest cygwin - fix: detect missing md5.h in configure - enhancement: adjust some messages to avoid line-wrapping - enhancement: print status message to log if suppressed on console - enhancement: also read config files in /etc and ${prefix}/etc - enhancement: simplified memory conifguration detection scheme - added an example config file, with documentation of all options - added parameter StatusInterval - fix for handling empty lines in config files - fix: --append rejects existing files - fix warnings related to thread status return code 20161115: - enhancement: report percent done, when input size is known (is a file) - enhancement: watchdog raises SIGKILL if SIGINT had no effect - change: start watchdog when parsing option -W or after parsing all options when activated via defaults file - fix: use thread-safe mt_usleep instead of sleep(3) for watchdog timing - change: adjusted interface of mt_usleep to accept 64bit arguments 20160613: - fix: fix potential assertion triggered by interrupted system call - enhancement: ignore EINTR for I/O syscalls 20160228: - fix: fix listen's backlog argument, which can cause issues on Linux 4.4
15 lines
492 B
C
15 lines
492 B
C
$NetBSD: patch-mbuffer.c,v 1.1 2018/09/18 09:49:29 fhajny Exp $
|
|
|
|
Default sysconfdir location.
|
|
|
|
--- mbuffer.c.orig 2018-06-25 20:37:20.000000000 +0000
|
|
+++ mbuffer.c
|
|
@@ -1029,7 +1029,7 @@ static void initDefaults()
|
|
|
|
const char *home = getenv("HOME");
|
|
readConfigFile("/etc/mbuffer.rc");
|
|
- readConfigFile(PREFIX "/etc/mbuffer.rc");
|
|
+ readConfigFile(SYSCONFDIR "/mbuffer.rc");
|
|
if (home == 0) {
|
|
warningmsg("HOME environment variable not set - unable to find defaults file\n");
|
|
return;
|