aboutsummaryrefslogtreecommitdiff
path: root/lib/cleanpath.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug fixesJoseph Hunkeler2022-02-171-16/+6
| | | | | * cleanpath_read no longer updates path->part_nelem * Moved path->part_nelem update to cleanpath_filter
* Go by the part_nelem rather than length of dataJoseph Hunkeler2022-02-161-1/+7
|
* Strip trailing separatorsJoseph Hunkeler2022-02-151-6/+8
|
* Implement --all/-AJoseph Hunkeler2022-02-141-0/+6
| | | | * Apply filters to all environment variables
* Proper namespace for the header file. Bump version.Joseph Hunkeler2021-05-121-1/+1
|
* Warn once about regex on windows from cleanpath utility, not libraryJoseph Hunkeler2021-05-081-2/+0
|
* Testing (#5)Joseph Hunkeler2021-05-071-4/+6
| | | | | | | | | * Fix separators appearing at the end once and for all * Add cleanpath executable tests * Escape slashes * Enable verbose testing
* Improvements (#4)Joseph Hunkeler2021-05-071-3/+3
| | | | | | | | | * Move display code into functions * Mark windows supported * Guard against overruns * Add --list argument to docs
* Add windows (#3)Joseph Hunkeler2021-05-061-2/+12
| | | * Add windows support
* Guard memory errorsJoseph Hunkeler2021-05-061-1/+19
|
* Forget about ARG_MAX. The likelihood of accepting an unfathomably large ↵Joseph Hunkeler2021-05-061-13/+1
| | | | input from the environment is pretty low
* No sep ending (#2)Joseph Hunkeler2021-05-061-1/+1
| | | * Be extra sure not to inject a separator at the end of the output string
* Create cmake.yml (#1)Joseph Hunkeler2021-05-051-5/+6
| | | | | * Create cmake.yml * Do not include limits.h for fun
* Independent ifdefsJoseph Hunkeler2021-05-051-3/+5
|
* Implement header detectionJoseph Hunkeler2021-05-051-0/+5
|
* AddJoseph Hunkeler2021-05-051-0/+4
| | | | | * OS detection * linux specfic limits header
* Initial commitJoe Hunkeler2021-05-041-0/+110