Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-27 | misc: Add `\r`, and `\n` to the list of whitespace that | mrb0nk500 | |
`skip_whitespace()` can skip past. | |||
2022-07-27 | misc: Use `is_empty()` instead of just checking if `*str` is NULL in | mrb0nk500 | |
`get_line()` | |||
2022-07-27 | misc: Add `is_empty()`, and `skip_whitespace()` | mrb0nk500 | |
2022-07-27 | misc: Make `get_line()` simpler by using `strcspn()` | mrb0nk500 | |
2021-08-01 | Fixed a typo in `sanitized_dir_path_name()`. | mrb0nk500 | |
2021-08-01 | Added `sanitized_dir_path_name()`. | mrb0nk500 | |
This function is the same as `dir_path_name()`, except `name` is sanitized before being appended to `root`. | |||
2021-08-01 | Fixed an infinite loop bug in `sanitized_str()`, and | mrb0nk500 | |
`sanitized_strlen()`. | |||
2021-08-01 | Explicitly discard const qualifier in `find_alpha()`. | mrb0nk500 | |
This was done to get rid of a const qualifier warning. | |||
2021-07-03 | Added `find_alpha()`, and `create_num_str()`. | mrb0nk500 | |
2021-06-26 | Include `stdarg.h` in `misc.c`. | mrb0nk500 | |
2021-06-26 | Added `format_len()`. | mrb0nk500 | |
2021-06-23 | Fixed another typo in `dir_path_num()`. | mrb0nk500 | |
2021-06-23 | Fixed a typo in `dir_path_num()`. | mrb0nk500 | |
2021-06-23 | Added `sanitize_strlen()`, and `sanitize_str()`. | mrb0nk500 | |
`sanitize_str()` creates a string with each starting space replaced by a hyphen, and with all trailing spaces, and periods removed. `sanitize_strlen()` gets the length of the sanatized version of the supplied string. | |||
2021-06-23 | Added `delm_span()`. | mrb0nk500 | |
2021-06-23 | Added 'dir_path_num()', and `dir_path_name()`. | mrb0nk500 | |
2021-06-18 | Move all miscellaneous functions from `config.c` into | mrb0nk500 | |
`misc.c`. |