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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]