Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: [PATCH] git-{repack,pack-objects} accept --{pack,blob}-limit to control pack size

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:03


On Thu, 5 Apr 2007, Shawn O. Pearce wrote:
Sure, OK, but that libc function doesn't exist on Mac OS X:
My bad. It's *not* linux-specific like the OSX man-page apparently says, 
it's very traditional. But the right name is "lseek64()" (and offt64_t for 
the size).

Of course, OSX didn't have some of the backwards-compatibility issues with 
decades ago, so they just made off_t 64-bit by default. Maybe they don't 
even bother to do the trivial portability things to support programs that 
try to be portable..

Anyway, we should use open64(), lseek64() and friends to be as portable as 
possible.. And if some system doesn't have them, just use the normal ops, 
and pray that they are already 64-bit safe..


		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help