Releases: troglobit/libite
Releases · troglobit/libite
Libite (-lite) v2.2.0
Changes
- Add support for
systemf()
, formatted stringsystem()
replacement - Add support for
fmkpath()
, formatted stringmkpath()
- Add support for
fopenf()
, formatted stringfopen()
replacement
Fixes
- Fix possible memory leak in
rsync()
, found by Coverity Scan - Check return value of
fstat()
to prevent bogus destination file times when usingcopyfile()
, found by Coverity Scan
Libite (-lite) v2.1.2
Fixes
- Fix Debian package upgrade from libite -> libite5
Libite (-lite) v2.1.1
Changes
- Add test/example for
printhdr()
- Update copyright years
Fixes
- chomp: Check for beginning of string while removing \n's
Libite (-lite) v2.1.0
Changes
- Add support for
strmatch()
andstrnmatch()
- Add support for
yorn()
, safe yes-or-no prompt - Add support for telnet expect/session APIs
- Add modified
printhdr()
which takes ANSI attribute
Fixes
- Fix
pidfile_signal()
: always return result ofkill()
, or the result ofremove()
if we successfully sentSIGKILL
- Fix
strtonum()
: POSIXstrtoll()
returnsEINVAL
, check that - Fix #13, support C++
extern "C" {}
for header files
Libite (-lite) v2.0.2
Fixes
- Fix issue #12, missing includes in
strlite.h
for standalone use - FTBFS
strtonum.c
on older systems w/oLLONG_MAX
andLLONG_MIN
Libite (-lite) v2.0.1
Changes
- Add missing
initscr()
declaration, regression in v2.0.0 - Add
#ifdef
guards aroundmin()
andmax()
macros - Add
const
tochar *
args in multiple API:s:fexist()
fgetint()
fisslashdir()
copyfile()
movefile()
ifconfig()
lfopen()
lfgetkey()
lfgetint()
Fixes
Libite (-lite) v2.0.0
Changes
- Remove
tree()
, moved to toolbox.git instead - Remove
fmode()
, please usestat()
instead, it's safer - Add support for keeping mtime in
copy()
andrsync()
- Move source files to an
src/
sub-directory - Move
initscr()
fromconio.h
toconio.c
- Update docs, recommend
mkpath()
overmakepath()
- Bump ABI version, major changes to library
Fixes
Libite (-lite) v1.9.3
Changes
initscr()
, use stdout, not stderr, like the rest of theconio.h
macros. Also, stderr may be redirected by usertree()
, update unit test, use standard directries
Fixes
initscr()
, verify that both stdin and stdout are real TTYs before messing up output or blocking on input for the usertree()
, increase internal buffer slightly, output may be truncated otherwise. Found by GCC 7.2
Libite (-lite) v1.9.2
- Add
initscr()
function to query screen size - Convert
printheader()
to a static inline function
Libite (-lite) v1.9.1
Changes
- Add missing
whichp()
predicate function to accompanywhich()
- Allow
which("ps aux")
, which skips any arguments to command