summaryrefslogtreecommitdiff
path: root/src/helper
AgeCommit message (Collapse)AuthorFilesLines
2024-02-19library api's: _ar_ (in-memory archiver) namespace overhaul.midipix1-8/+8
2024-02-10Annual chores.midipix5-5/+5
2024-02-10code base: simplify checks against value returned from snprintf() via wrapper.midipix1-2/+3
2024-02-08slbt_archive_import(): check whether the imported archive is a placeholder.midipix1-0/+6
2024-02-08slbt_archive_import(): use slibtool's in-memory archive merging facility.midipix1-1/+37
2024-02-04slbt_copy_file(): enhance logging of copy errors.midipix1-3/+11
2024-02-04slbt_archive_import(): refactor in anticipation of in-memory archive merging.midipix1-145/+9
2023-09-04helper interfaces: slbt_realpath(): utilize the header test for sys/syscall.h.midipix1-1/+1
2023-02-12helper: added slbt_map_input(), slbt_unmap_input().midipix1-0/+67
2022-11-08Coding style: remove accidental whitespace.midipix2-2/+0
2021-12-30A new home.midipix4-4/+4
2021-07-06Annual chores.midipix4-4/+4
2021-04-17slbt_realpath(): added code path for systems with a realpathat syscall.midipix1-0/+12
2021-04-15library: replace all uses of getcwd() with slbt_realpath().midipix1-1/+5
2021-04-15library: replace all uses of open() with openat().midipix1-1/+1
2021-04-15library: replace all uses of unlink() with unlinkat().midipix1-2/+2
2021-04-15library: replace all uses of symlink() with symlinkat().midipix1-3/+5
2021-04-15library: replace all uses of [slbt_]readlink() with [slbt_]readlinkat().midipix3-3/+14
2020-12-26helper api: added slbt_realpath().midipix1-0/+89
2020-12-20internals: error tracing: record the not-found path upon ENOENT as needed.midipix2-4/+5
2018-07-16slbt_dump_machine(): following the switch away from streams, fix type of ret.midipix1-2/+2
2018-07-16slbt_dump_machine(): do not use the non-portable (oversight) EBADR as a hint.midipix1-2/+2
2018-06-29helper interfaces: slbt_dump_machine(): guard against a zero buflen parameter.midipix1-1/+1
2018-06-29helper interfaces: re-implemented slbt_archive_import() w. pure fdio.midipix1-23/+23
2018-06-29helper interfaces: re-implemented slbt_dump_machine() w. pure fdio.midipix1-29/+48
2018-06-29slbt_dump_machine_child(): fix argv[0] computation logic.midipix1-1/+1
2018-06-27annual chores.midipix3-3/+3
2018-06-22install mode: slbt_copy_file(): properly detect placeholder symlinks.midipix1-0/+5
2018-06-21link mode: slbt_archive_import(): properly detect placeholder symlinks.midipix1-3/+3
2017-11-18process spawning and forking: use dup2, not dup, in the child process.midipix2-9/+5
2017-11-18process forking and spawning: call _exit, not exit, in the child process.midipix2-3/+3
2017-08-10slibtool-shared: properly handle .la arguments when creating an archive.midipix1-0/+5
tool ==== slibtool-shared (or slibtool with -disable-static). scenario ======== - create libfoo.so (via libfoo.la). - create libbar.a (via libbar.la), with libfoo.la as an input argument. Before this fix, slibtool failed since it could not find libfoo.a.slibtool.deps. After this fix, slibtool properly handles this scenario, first by detecting that there is no archive for which secondary dependencies need to be processed, and then by detecting that libfoo.a is a symlink to /dev/null.
2017-02-05annual chores, properly performed.midipix3-3/+3
2017-02-04annual chores.midipix3-3/+3
2016-11-01error trace: use descriptive errcodes for invocations of SLBT_CUSTOM_ERROR.Kylie McClain1-1/+1
2016-09-19driver: accommodate hosts that occasionally use '-portbld-' in their triple.midipix1-0/+6
2016-09-03slbt_copy_file(): added error trace support.midipix1-3/+4
2016-09-03slbt_archive_import(): added error trace support.midipix1-6/+8
2016-06-17slbt_mri_argument(): properly handle absolute path arg.midipix1-6/+13
2016-04-30slbt_dump_machine(): fix child process control flow.midipix1-3/+2
2016-04-30slbt_archive_import(): fix child process control flow.midipix1-3/+2
2016-04-23library: helper functions: added slbt_dump_machine.midipix1-0/+113
2016-04-23slbt_archive_import(): fix header inclusion and variable naming.midipix1-5/+5
2016-04-23added slbt_archive_import(): work around ar(1) MRI parser limitations.midipix1-2/+47
2016-04-21slbt_copy_file(): restore execution context program at exit.midipix1-0/+5
2016-04-19library: helper functions: slbt_copy_file: properly call slbt_output_{mode}.midipix1-3/+10
2016-04-19slbt_copy_file(): restore execution context argument vector at exit.midipix1-5/+12
2016-04-18library: helper functions: added slbt_copy_file.midipix1-0/+38
2016-04-18library: helper functions: fix linkage of slbt_archive_import().midipix1-1/+1
2016-04-13library: helper functions: added slbt_archive_import().midipix1-0/+95