aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly declare SPM_ERR_STRING globalJoseph Hunkeler2020-04-191-0/+12
|
* Better reporting when a package does not existJoseph Hunkeler2020-04-196-15/+73
| | | | | | | | * Add additional errors * Fix user_input function missing an error return value * spmbuild sources a temporary file instead of output from a sub-shell * Fix indentation problem * A reason can be attached to spmerrno using spmerrno_cause()
* Implement error handlingJoseph Hunkeler2020-04-195-16/+53
| | | | * Die on bad root directory
* Add error handlerJoseph Hunkeler2020-04-191-0/+27
|
* spm_mkdtemp requires a base directory:Joseph Hunkeler2020-04-183-6/+14
| | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS)
* Clean up find_by_strspecJoseph Hunkeler2020-04-141-20/+11
|
* Add functions:Joseph Hunkeler2020-04-141-0/+127
| | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes
* lib/fs.cJoseph Hunkeler2020-04-101-2/+5
|
* Fail if seek failsJoseph Hunkeler2020-04-091-1/+3
|
* relocate() return -1 on NULL argumentsJoseph Hunkeler2020-04-081-3/+10
|
* Add test_relocation_file_replace_text (#14)Joseph Hunkeler2020-04-081-5/+6
| | | | | | | | | * Add test_relocation_file_replace_text * Fix bad BUFSIZ allocation and interaction * Use the line limit not the number of lines * Zero line buffer before next read
* Test replace_text (#13)Joseph Hunkeler2020-04-061-9/+13
| | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text
* Merge pull request #11 from jhunkeler/strlist-fixesJoseph Hunkeler2020-04-011-5/+31
|\ | | | | strlist: Handle NULL input (for most cases)
| * Handle NULL input (for most cases)Joseph Hunkeler2020-04-011-5/+31
| |
* | Add test_config_read testJoseph Hunkeler2020-04-011-4/+9
|/ | | | * config_read removes whitespace correctly near inline comments
* Fix shell command benchmarkingJoseph Hunkeler2020-03-301-11/+12
|
* bugfix: spm_prompt_user did not capture input and process it as intendedJoseph Hunkeler2020-03-281-54/+19
|
* Add strcmp_array() functionJoseph Hunkeler2020-03-281-0/+41
|
* Return NULL if input is NULLJoseph Hunkeler2020-03-271-0/+5
|
* Explicit returnJoseph Hunkeler2020-03-271-0/+1
|
* Fix compiler warnings not triggeringJoseph Hunkeler2020-03-271-2/+2
|
* Bugfix: Terminate arrayJoseph Hunkeler2020-03-271-1/+1
|
* Use getenv_pair() to construct a basic runtime environmentJoseph Hunkeler2020-03-271-1/+55
|
* Bugfix: Terminate arrayJoseph Hunkeler2020-03-261-1/+1
|
* Guarantee the array is terminatedJoseph Hunkeler2020-03-261-0/+1
|
* Fix segfault caused by freeing records for no reason:Joseph Hunkeler2020-03-265-18/+22
| | | | * split() returns the input string when no delimiters are found
* Bugfix: Replace char &reference with const char[] string.Joseph Hunkeler2020-03-251-2/+2
|
* Fix a few memory leaks:Joseph Hunkeler2020-03-253-9/+22
| | | | * Cannot free array of manifests successfully though... TODO
* Fix double less-than checkJoseph Hunkeler2020-03-251-1/+1
|
* Add .circleci/config.ymlJoseph Hunkeler2020-03-253-21/+19
|
* Fix bugs uncovered by testsJoseph Hunkeler2020-03-241-39/+110
|
* Refactor project: build/install libspm[_static.a].so to make unit testing ↵Joseph Hunkeler2020-03-1827-0/+7119
possible