diff options
author | Jan Kara <jack@suse.cz> | 2014-10-01 18:10:40 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-10-01 18:10:40 +0200 |
commit | 663ac451b045b4823d6d633893a5d748c09f42f2 (patch) | |
tree | 8d9063ea1af02f43020db3604ecddae278fc31e5 /pot.h | |
parent | 072f44cf359a4377b49a9adc003cc4c92fa10be3 (diff) |
Fix handling of space and inode values
Commit 0214512479e0 (Properly handle signed space and inode values)
broke parsing of pure numbers in str2number() so that it would always
complain about "Integer overflow while interpreting decimal unit". Fix
condition checking for overflow.
Also number2str() was buggy and wouldn't guess proper units for negative
numbers.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'pot.h')
0 files changed, 0 insertions, 0 deletions