Releases: troglobit/libite
Releases · troglobit/libite
Libite (-lite) v1.9.0
Changes
- Add
which()
, a C implementation of UNIX which(1) - Add
printheader()
, prints a top-like table heading for client tools - Remove
UNUSED()
macro, recommended to disable GCC warning instead
Fixes
- Fix issue #6:
touch()
does not update mtime if file exists - Fix non-writable
tempfile()
, now with proper unit test
Libite (-lite) v1.8.3
Changes
- Support absolute path in
pidfile()
. Needed by, e.g. Inadyn - Add initial
debian/
packaging - Update README with note on remembering to set
umask()
Fixes
- In use-cases when
pidfile()
is called consecutively, e.g. on
SIGHUP
, recreate PID file if it no longer exists
Libite (-lite) v1.8.2
Changes
- Updated build instructions in README.
- Converted
touch()
,makedir()
,makefifo()
, anderase()
from macros to
inline functions. Also removed implicit logging tostderr
on error.
Fixes
- Fix small memory leak in
pidfile()
... at exit. - Fixes for building on musl libc
Libite (-lite) v1.8.1
Fixes
fparseln()
, portability fix for NetBSDpidfile()
, portability fix for NetBSD and OpenBSD
Libite (-lite) v1.8.0
Changes
- Change return type of
fsendfile()
fromsize_t
tossize_t
- Change
dir()
semantics: do not assert and always return error
without callingperror()
or similar. - The OpenBSD
pidfile()
function's prefix path_PATH_VARRUN
can now be overridden by setting the hidden__pidfile_path
variable. E.g., to_PATH_TMP
. Make sure read the docs! - Add new unit test framework
make check
.
Fixes
- Fix bad path in new
strndupa()
header file. - Add missing progress bar API's to
lite.h
Libite (-lite) v1.7.0
Changes
- Add support for GNU
strdupa()
, for Inadyn on NetBSD. - Add support for GNU
strndupa()
andstrnlen()
Fixes
- Fix
mkpath()
to handle creating relative directories.
Libite v1.6.0
Libite v1.5.1
Minor fix release.
Changes
- Update README.md, add help when libite is used in autotools projects.
Spell checking and minor cleanup.
Fixes
- Activate use of
utimensat()
whenpidfile()
is called multiple
times. This reduces the overhead of calling open+write+close to
simply updating the mtime of the PID file. - Westermo fixes for
fcopyfile()
: nothing copied on embedded PPC
system when usingtmpfile()
as source.
Libite v1.5.0
This release changes the header file namespace. Apologies for any problems this may cause!
Changes
- Change namespace for header files:
libite/
tolite/
, e.g. using
pkg-config
your C program must now#include <lite/lite.h>
- Update
pidfile()
to useutimensat()
to update atime+mtime instead
of opening and writing PID again. Less overhead and nanonsecond res.
Libite v1.4.4
Changes
- Add
ibite.pc.in
forpkg-config
support.
Fixes
- Fix issue #3:
tempfile()
fails with badO_TMPFILE
on some embedded
targets, in particular PowerPC. On systems with older GLIBC but with
a sufficiently new kernelO_TMPFILE
is missing and the local libite
definition was wrong, hard coded for x86. Fixed by Johan Askerin.