Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket26626: require and use the standard C integer headers, types, and macros. #207

Merged
merged 18 commits into from Jul 3, 2018

Conversation

Labels
None yet
Projects
None yet
4 participants
@nmathewson
Copy link
Contributor

@nmathewson nmathewson commented Jul 3, 2018

No description provided.

nmathewson and others added 18 commits Jul 2, 2018
Recent Python3 versions seem to require this on Windows.

Fixes bug 26535; bug introduced in f4be34f, which
was apparently intended itself as a Python3 workaround.
Recent Python3 versions seem to require this on Windows.

Fixes bug 26535; bug copied from ntor_ref.py on 0.3.1.1-alpha.
We've been silently requiring stdint.h for a while now, and nobody
has complained.  Closes ticket 26626.
Casting before printf was necessary; now it's not so smart.

We don't have SIZEOF_UINT8_T any more.
The standard is printf("%"PRIu64, x);
These were necessary long ago to work around a bug in VC6.
These were mostly cases where our previous macros had been casting,
and the values that we were trying to printf were not in fact
uint64_t.
@coveralls
Copy link

@coveralls coveralls commented Jul 3, 2018

Coverage Status

Coverage increased (+0.002%) to 59.503% when pulling 02a4442 on nmathewson:ticket26626 into a9628c0 on torproject:master.

@torproject-pusher torproject-pusher merged commit 02a4442 into torproject:master Jul 3, 2018
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment