summaryrefslogtreecommitdiffstats
path: root/contrib/file/magic
diff options
context:
space:
mode:
authordavide <davide@FreeBSD.org>2014-06-26 05:23:48 +0000
committerdavide <davide@FreeBSD.org>2014-06-26 05:23:48 +0000
commit8b39363d0d5f3d274de63dac41aaba59cdf00cdb (patch)
treeb3dfed649b1329c0a2fb8c4e1cb41a63f6e58330 /contrib/file/magic
parentd4fe515519adfe9db564595f1182018d76bbdd26 (diff)
downloadFreeBSD-src-8b39363d0d5f3d274de63dac41aaba59cdf00cdb.zip
FreeBSD-src-8b39363d0d5f3d274de63dac41aaba59cdf00cdb.tar.gz
Improve r264388 removing namespace pollution previously introduced in
<sys/time.h>. INT64_MAX actually requires __INT64_C() hack to get the type right on exotic architectures (e.g. on ones with 63-bit ints or long 0x7fffffffffffffff is unsigned int or long). The hardcoded LL suffix is good enough to avoid these problems for SBT_MAX (it makes the type always signed long long, without overflow since long long has at least 64 bits). Many thanks to Bruce Evans for the time spent me to explain this. Reported by: bde Reviewed by: bde
Diffstat (limited to 'contrib/file/magic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud