aboutsummaryrefslogtreecommitdiff
path: root/src/system.c
Commit message (Collapse)AuthorAgeFilesLines
* Address shortcomings and bugs flushed out by unit testsJoseph Hunkeler2024-06-091-25/+29
|
* Fix realloc handlerJoseph Hunkeler2024-04-101-2/+1
|
* Remove commented codeJoseph Hunkeler2024-03-221-1/+0
|
* BugfixJoseph Hunkeler2024-03-141-5/+6
| | | | | | * When the result string grew larger than the initial_size, the function would return NULL even if realloc succeeded * Replaces fgets with fread to ensure all data returned by the program is consumed. * The line buffer is zeroed for each iteration
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-101-1/+1
|
* xmkstemp allow setting file modeJoseph Hunkeler2024-03-041-1/+1
| | | | * add usage comment function
* Fixes several memory leaksJoseph Hunkeler2024-02-261-0/+2
|
* Refactor std output stream to use f_std{out,err}Joseph Hunkeler2024-02-061-6/+6
|
* Refactor std{out,err} to f_std{out,err}Joseph Hunkeler2024-02-061-4/+4
| | | | * Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations.
* General improvementsJoseph Hunkeler2024-01-301-78/+5
| | | | | | | | | | | * Fix segfault related to Delivery.storage.tmpdir not being initialized properly * Add delivery_format_str() to make delivery rules easier to maintain * Test configurations can accept their own runtime variables * When no conda package or python packages are to be installed, indicate that state by printing "N/A" in output summary * Change shell_safe() accept a string instead of an array * Add support for artifactory client certs key/path * Initial pass at defining an artifactory repo destination (not fully implemented yet) * Add missing line feeds to error messages during ini config initialization
* Use TMPDIR, and fail when script cannot be executed within that filesystemJoseph Hunkeler2023-11-201-1/+9
|
* Add shell_output() and use xmkstemp()Joseph Hunkeler2023-11-201-8/+36
|
* Rebrand for the last timeJoseph Hunkeler2023-11-201-0/+1
| | | | | * Shorten OHMYCAL to OMC * Rename ohmycal.h to omc.h
* Close dangling file descriptorJoseph Hunkeler2023-10-311-1/+8
| | | | * Only remove temporary script file if it exists
* Initial commitJoseph Hunkeler2023-10-261-0/+201