Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Conversation

hillsp
Copy link
Contributor

@hillsp hillsp commented May 11, 2016

No description provided.

@crowell
Copy link
Contributor

crowell commented May 11, 2016

lgtm

// on a 32-bit system off_t will be 4 bytes and we don't assign all the
// bits of content_length_n. Sanity check that did not happen.
// This could use static_assert, but this file is not built with --std=c++11.
bool sanity_check_off_t[sizeof(off_t) == 8 ? 1 : -1] __attribute__ ((unused));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@hillsp hillsp merged commit 77cd95b into trunk-tracking May 11, 2016
@hillsp hillsp deleted the cheesy-32bit_fix branch May 11, 2016 17:34
@jmarantz
Copy link
Contributor

lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants