Skip to content

Releases: troglobit/libite

Libite (-lite) v1.9.0

02 Jul 17:21
Compare
Choose a tag to compare

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

08 Jan 14:21
Compare
Choose a tag to compare

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

04 Sep 22:22
Compare
Choose a tag to compare

Changes

  • Updated build instructions in README.
  • Converted touch(), makedir(), makefifo(), and erase() from macros to
    inline functions. Also removed implicit logging to stderr on error.

Fixes

  • Fix small memory leak in pidfile() ... at exit.
  • Fixes for building on musl libc

Libite (-lite) v1.8.1

25 Jun 10:53
Compare
Choose a tag to compare

Fixes

  • fparseln(), portability fix for NetBSD
  • pidfile(), portability fix for NetBSD and OpenBSD

Libite (-lite) v1.8.0

06 Jun 17:40
Compare
Choose a tag to compare

Changes

  • Change return type of fsendfile() from size_t to ssize_t
  • Change dir() semantics: do not assert and always return error
    without calling perror() 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

04 Jun 22:39
Compare
Choose a tag to compare

Changes

  • Add support for GNU strdupa(), for Inadyn on NetBSD.
  • Add support for GNU strndupa() and strnlen()

Fixes

  • Fix mkpath() to handle creating relative directories.

Libite v1.6.0

13 May 05:24
Compare
Choose a tag to compare

Changes

  • Add support for NetBSD fparaseln() for the benefit of Mg
  • Add support for OpenBSD reallocarray() for the benefit of Mg
  • Constify fisdir() argument

Libite v1.5.1

17 Apr 14:29
Compare
Choose a tag to compare

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() when pidfile() 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 using tmpfile() as source.

Libite v1.5.0

20 Mar 01:29
Compare
Choose a tag to compare

This release changes the header file namespace. Apologies for any problems this may cause!

Changes

  • Change namespace for header files: libite/ to lite/, e.g. using
    pkg-config your C program must now #include <lite/lite.h>
  • Update pidfile() to use utimensat() to update atime+mtime instead
    of opening and writing PID again. Less overhead and nanonsecond res.

Libite v1.4.4

23 Feb 13:25
Compare
Choose a tag to compare

Changes

  • Add ibite.pc.in for pkg-config support.

Fixes

  • Fix issue #3: tempfile() fails with bad O_TMPFILE on some embedded
    targets, in particular PowerPC. On systems with older GLIBC but with
    a sufficiently new kernel O_TMPFILE is missing and the local libite
    definition was wrong, hard coded for x86. Fixed by Johan Askerin.