Shawn Landden
025b4c4105
utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t
...
rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring
to unicode chars, to make things more expressive.
2015-10-31 21:00:57 -07:00
Lennart Poettering
b5efdb8af4
util-lib: split out allocation calls into alloc-util.[ch]
2015-10-27 13:45:53 +01:00
Lennart Poettering
3ffd4af220
util-lib: split out fd-related operations into fd-util.[ch]
...
There are more than enough to deserve their own .c file, hence move them
over.
2015-10-25 13:19:18 +01:00
Lennart Poettering
4f5dd3943b
util: split out escaping code into escape.[ch]
...
This really deserves its own file, given how much code this is now.
2015-10-24 23:04:42 +02:00
Lennart Poettering
dea7b6b043
util-lib: rework extract_first_word_and_warn() a bit
...
- Really warn in all error cases, not just some. We need to make sure
that all errors are logged to not confuse the user.
- Explicitly check for EINVAL error code before claiming anything about
invalid escapes, could be ENOMEM after all.
2015-10-24 23:03:49 +02:00
Lennart Poettering
84ac7bea36
util: split out extract_first_word() and related calls into extract-word.[ch]
...
This is quite a lot of code these days, hence move it to its own source
file.
2015-10-24 23:03:49 +02:00