limb: lila's core library
A simple C library (based on skalibs) with common APIs used by all lila's software.
Latest release: 0.2.0 (2024-01-09)
- Fix EXDEV on open_write{,v}_closeat/shldata_write
- shldata: Update API to get algo & iter when reading Notably useful to allow re-using the same values upon re-writing a file. Applies to shldata, buffer-shldata & shldata-rw.
- Fix siov_memcmp() when beginning matches but is shorter
- open_saread_closeat(): Fix wrong return value when open fails
- Fix endless loop in sa_readmax when fd_read fails
- escall_scan: Fix quote handling & support "stream mode"
- While double-quote are expected to be quoted, this wasn't actually checked/enforced, fixed.
- Also, support use in a "stream mode", that is when there's not enough data in sce to fully unescape something, report ENODATA to give the caller a chance to fill its buffer and try again. So obviously positions in r & w are updated properly to allow such use.
- bytestr.h: Add byte_istr() It's byte_str() but case-insensitive. It's also very much not optimized; use with care.
- Add exec.h & related functions
- djbunix: Add fd related functions Namely fd_copy, fd_copy2, fd_move, fd_move2 to copy/move fds; and pipe_internal, pipecoe, pipenb, pipenbcoe to create pipes. Note all those are from skalibs, we're just documenting here.
- doc: djbunix: Add missing fd_close.3.md
- Update dependencies to comain 0.0.5 & skalibs 2.14.0.0
- Other various small changes/fixes; Refer to git log for more.
Components
Those are internal components, the required source code is included in the tarball and they lead to no runtime dependency.
- comain version 0.0.5
Dependencies
Those are dependencies on librairies that will need to be present at build time. A runtime dependency will be set, unless static linking was used.
- skalibs version 2.14.0.0
Free Software
Released under GPL-2.0, see COPYING for more. Copyright (C) 2023 Olivier Brunel
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.