Commit Graph

2 Commits

Author SHA1 Message Date
Calvin Buckley
3f28eafeaf stdint constants in test suite
Passes w/ gcc 11 on Fedora x64.

Protip: So you don;t have to suffer,

```
perl -pe 's/(-?(?:0x)?[A-Fa-f0-9]+)([Uu])?[Ll][Ll]/\U$2INT64_C(\E$1)/mg'
```
2021-07-07 19:35:42 -03:00
lhchavez
5ab0736bef Add tests for git__multiply_int64_overflow
As it turns out, the implementation of `git__multiply_int64_overflow` is
full of edge cases and tricky arithmetic. That means that it should have
unit tests.

As a result, a bug in `git__strntol64` was found (and fixed!) in
clang+32-bit.
2020-12-19 10:23:15 -08:00