login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Dana How <danahow@...>, Nicolas Pitre <nico@...>, Junio C Hamano <junkio@...>, Git Mailing List <git@...>
Date: Thursday, April 5, 2007 - 1:14 pm

Linus Torvalds <torvalds@linux-foundation.org> wrote:

Sorry for the confusion, that manpage snippet came from a Gentoo/x86
system.  But I digress, you are right, the right interfaces to be
using here is lseek64 and open64.

Now those also don't eixst on OSX, because as you pointed out, they
have no legacy to deal with and are just using sizeof off_t == 8.

So we'd probably have to do something like:

	#ifndef _LFS_LARGEFILE
	#define open64 open
	#define lseek64 lseek
	#endif

and then start using the open64/lseek64 variants instead.  Or do
the reverse #define's.  ;-)

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] git-{repack,pack-objects} accept --{pack,blob}-l..., Shawn O. Pearce, (Thu Apr 5, 1:14 pm)
speck-geostationary