summaryrefslogtreecommitdiff
path: root/src/helper
AgeCommit message (Collapse)AuthorFilesLines
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