Andrew Tridgell [EMAIL PROTECTED] wrote:
Speaking of this, does anyone know a portable way to get printf to
handle off_t values when they may be larger that a long? Is there
none?
The best way I know of is what I used in other places in rsync, which
is this:
off_t foo = ;
On 20 Mar 2001, Rusty Carruth [EMAIL PROTECTED] wrote:
Well, there IS this silliness (this won't compile, its just
pseudo-code, as its been a while since I've had to do this):
union hacko_union
{
off_t foo;
long foolongs[2];
};
Well, we do already have our own public domain
Speaking of this, does anyone know a portable way to get printf to
handle off_t values when they may be larger that a long? Is there
none?
The best way I know of is what I used in other places in rsync, which
is this:
off_t foo = ;
printf("seek to %.0f\n", (double)foo);
I know
On 17 Mar 2001, Christopher Yeoh [EMAIL PROTECTED] wrote:
Hmmm. The following
printf("seek to %jd\n", (intmax_t) foo);
might do what you want. Its not in SUSv2 but is in the Austin drafts
so I'm not sure how widely implemented it is.
That's neat. Thankyou.
Sadly gcc 2.95.3 does not
On Fri, Mar 16, 2001 at 04:39:18PM +1100, Martin Pool wrote:
On 15 Mar 2001, "Willeat, Todd" [EMAIL PROTECTED] wrote:
http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lr_files.htm
explains how to enable large file support on AIX. The fillowing line
was added to
]
Cc: [EMAIL PROTECTED]
Subject: Re: LFS support on AIX 4.3.3
On Fri, Mar 16, 2001 at 04:39:18PM +1100, Martin Pool wrote:
On 15 Mar 2001, "Willeat, Todd" [EMAIL PROTECTED] wrote:
http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lr_
files.htm
explains how
On 16 Mar 2001, [EMAIL PROTECTED] wrote:
ICK! Please undo your change. Defining _LARGE_FILES as is done in
rsync.h means everyone will be impacted (Solaris, HP-UX, IRIX, Linux,
FreeBSD, Tru64 UNIX, ...). Discussion has already occurred on this
list about LFS support:
OK, I'll take it out.
Speaking of this, does anyone know a portable way to get printf to
handle off_t values when they may be larger that a long? Is there
none?
I normally write
off_t foo = ;
printf("seek to %ld\n", (long) foo);
accepting that for long values on some platforms it will just be
wrong. Is
On Sat, Mar 17, 2001 at 11:22:31AM +1100, Martin Pool wrote:
On 16 Mar 2001, [EMAIL PROTECTED] wrote:
ICK! Please undo your change. Defining _LARGE_FILES as is done in
rsync.h means everyone will be impacted (Solaris, HP-UX, IRIX, Linux,
FreeBSD, Tru64 UNIX, ...). Discussion has already
Martin Pool writes:
I normally write
off_t foo = ;
printf("seek to %ld\n", (long) foo);
accepting that for long values on some platforms it will just be
wrong. Is there a better solution that's not gcc or glibc-specific?
From what I've seen of the standards, there is no
http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lrg
_files.htm explains how to enable large file support on AIX. The fillowing
line was added to the config.h file:
#define _LARGE_FILES 1
Todd Willeat
UNIX Administrator
...OLE_Obj...
40 Corporate Center
425 South
On 15 Mar 2001, "Willeat, Todd" [EMAIL PROTECTED] wrote:
http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lr_files.htm
explains how to enable large file support on AIX. The fillowing line
was added to the config.h file:
#define _LARGE_FILES 1
I committed this to
I've installed rsync 2.4.6 on 2 DEC Alphas and 1 IBM RS/6000. I need to
transfer some files that are 2.5GB. Everything works find between the
DECs, but not with the IBM. On the IBM, I have a problem with files over
2GB. I have successfully concatenated several files into 1 file approx
2.5GB, so
13 matches
Mail list logo