mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 22:03:12 +00:00
f4fa0171f2
Prior to this change, wcstoi() would return an error if the requested type were unsigned, and the input had a leading minus sign. However this causes problems for printf, which expects strtoul behavior. Add "modulo base" behavior which wraps the negative value to positive. Factor this into an option; the default is False (but code which previously used strtoull directly should set it to true). |
||
---|---|---|
.. | ||
src | ||
widestring-suffix | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |