Re: LFS support on AIX 4.3.3

2001-03-20 Thread Martin Pool
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 publ

Re[2]: LFS support on AIX 4.3.3

2001-03-20 Thread Rusty Carruth
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

Re: LFS support on AIX 4.3.3

2001-03-17 Thread Martin Pool
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

Re: LFS support on AIX 4.3.3

2001-03-17 Thread Andrew Tridgell
> 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 us

Re: LFS support on AIX 4.3.3

2001-03-16 Thread Christopher Yeoh
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

Re: LFS support on AIX 4.3.3

2001-03-16 Thread rsync
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 a

Re: LFS support on AIX 4.3.3

2001-03-16 Thread Martin Pool
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 the

Re: LFS support on AIX 4.3.3

2001-03-16 Thread Martin Pool
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

RE: LFS support on AIX 4.3.3

2001-03-16 Thread Willeat, Todd
ECTED] 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_

Re: LFS support on AIX 4.3.3

2001-03-16 Thread rsync
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

RE: LFS support on AIX 4.3.3

2001-03-16 Thread Willeat, Todd
artin Pool [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 11:39 PM To: Willeat, Todd Cc: '[EMAIL PROTECTED]' Subject: Re: LFS support on AIX 4.3.3 On 15 Mar 2001, "Willeat, Todd" <[EMAIL PROTECTED]> wrote: > http://www.rs6000.ibm.com/doc_link/en_US/a_doc_

Re: LFS support on AIX 4.3.3

2001-03-15 Thread Martin Pool
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

LFS support on AIX 4.3.3

2001-03-15 Thread Willeat, Todd
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

LFS support on AIX 4.3.3

2001-03-09 Thread Willeat, Todd
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