The Open Group Single Unix standard shows that the data types int64 and uint64 are defined in the inttypes.h header file. Rsync is not including this file, nor is there a feature test for this header file in the configure phase, but rsync is using these data types. -John wb8tyw@qsl.net Personal Opinion Only
John E. Malmberg wrote:> The Open Group Single Unix standard shows that the data types int64 and > uint64 are defined in the inttypes.h header file. > > Rsync is not including this file, nor is there a feature test for this > header file in the configure phase, but rsync is using these data types.My error, the types on my system are in the ints.h header file, which I do not find in The Open Group's specifications. -John wb8tyw@qsl.net Personal Opinion Only
On Sat, Feb 12, 2005 at 10:07:05PM -0500, John E. Malmberg wrote:> Rsync is not including this file, nor is there a feature test for this > header file in the configure phase, but rsync is using [int64 and > uint64].Rsync is defining its own int64 (using a define, not a typedef), so it is not depending on these fairly new types being found on the system (also, I thought they were really int64_t and uint64_t, but I could be wrong). It would probably be a good idea to add a test to configure to look for int64_t and make use of it, if necessary (with an appropriate include of inttypes.h or stdint.h, which configure already checks for, but rsync.h doesn't currently use). The latest code no longer uses uint64. ..wayne..