HP-UX 11i and largefiles on rsync

Steve Bonds knnf6cy7w001 at sneakemail.com
Tue Apr 5 20:17:45 GMT 2005


On Apr 4, 2005 3:03 PM, Steve Bonds wrote:

> So how's this for a revised plan?
> 1) On HP-UX systems, build using mktemp()
> 2) Put a warning in the HP-UX section of the INSTALL file about this necessity

Attached are the following patches:
+ configure.in patch
+ syscall.c patch

(Note to lawyers: these are released without copyright, consider these
patches public domain.)

The configure.in patch puts in a check for "hp" as the vendor in the
target system.  This seemed the quickest way to detect all variants of
HP-UX.  Alternatively, the $target_os could be checked to see if it
began with "hpux".

I also implemented the suggestion to directly check for lseek64
instead of inferring it from the size of off64_t.  This was only a
problem on the 64-bit rsync build, which ended up having a number of
other problems, but it seemed like a good practice to directly check
where possible instead of inferring.

I decided the INSTALL file warning is probably unnecessary since I
included one in the configure.in patch.

The issues with the daemon test code went away when I moved back to a
32-bit binary.

  -- Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.in.patch
Type: application/octet-stream
Size: 1774 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20050405/82f9f45a/configure.in.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syscall.c.patch
Type: application/octet-stream
Size: 631 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20050405/82f9f45a/syscall.c.obj


More information about the rsync mailing list