Displaying 20 results from an estimated 6000 matches similar to: "macro feature tests in rsync code"
2002 Apr 15
3
Initial debug of client - Need command line help
I am trying to debug the RSYNC client and server by single stepping
through them.
The server seems to ok up to the point where it is waiting for the
client connection.
On the client side, I am having trouble finding the right options so
that it will connect up to the local server with out fork() a copy of
itself or trying to exec the rsh command.
This is on RSYNC 2.5.5 on OpenVMS Alpha.
If
2005 Feb 13
2
#include <inttypes.h> missing for 64 bit integers.
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
2002 Jan 02
3
2.5.1pre3 - Bugs in configure script / config.h.in breaks build.
Compaq C 6.5
OpenVMS Alpha 7.3
The config.h.in template file is missing the line:
#undef HAVE_INET_NTOP
This caused the resulting CONFIG.H on OpenVMS to not test for the
existance of the inet_ntop() routine in it's system tables.
This configure bug exposed that the prototype in inet_ntop() in RSYNC.H
does not match the one in the Compaq C header files. This stopped the
build. I am
2003 Oct 12
7
rsync.h always including syslog.h even when not used.
Hello,
rsync.h is always including the syslog.h file, even though it is only
used when the LOG_DAEMON macro is defined.
Could someone change it to be as follows:
#ifdef LOG_DAEMON
#include <syslog.h>
#endif
OpenVMS currently does not have a syslog facility, so it does not have a
syslog.h.
Thank you,
-John
wb8tyw@qsl.net
Personal Opinion Only
2001 Aug 14
1
malloc() with out free() in popt (2.4.7pre)
I am still chasing this down, but in doing the build for OpenVMS,
I have discovered that one of the popt modules is using HAVE_ALLOCA_H
to determine if the alloca function is on a platform.
That is not a good assumption. Compaq C does have an alloca() built in
(slightly different symbol name, I assume because of symbol naming rules
in the C standard.)
Because alloca is a non-standard
2002 Jul 27
1
superlifter design notes (was Re: ...
> From: jw schultz <jw@pegasys.ws.invalid>
>
> On Fri, Jul 26, 2002 at 09:03:32AM -0400, Bennett Todd wrote:
>
>>2002-07-26-03:37:51 jw schultz:
>>
>>>All that matters is that we can represent the timestamps in
>>>a way that allows consistent comparison, restoration and
>>>transfer.
>>
>>A very good statement indeed. There are
2003 Aug 02
2
rsync on Windows 2000?
What is the status of rsync on Windows 2000?
I was looking to install it on my test system, and the download
directory has a readme file that says I need the cygnus gnu-win32 library.
The link refers me to the index page for cygnus, with no way to get to a
download area. A google search shows many mirrors of the download
directory. All I have checked are completely blank.
I will confess
2003 Oct 14
1
Token.c appears to have a bug.
[A repost under a new topic since the other seems to have been lost in
the noise]
I am basically down to one unresolved compilier diagnostic.
The HP/COMPAQ/DEC C compiler is concerned about this line in TOKEN.C
4 22136 temp_byte = (char) n >> 8;
........................................1
%CC-I-RIGHTSHIFTOVR, (1) In this statement, the right shift count
2002 Nov 15
2
SPAM on List...
Re: Per the discussions about spam on this list.
Sending a confirming message to an unregistered poster is not a good
idea. The return/reply-to addresses in spam is forged, and that is just
adding to some victims e-mail.
Filtering runs the risk that a legitimate message gets lost, and the
sender does not realize it.
Filtering is also the most expensive and innefficient way to deal with
2002 Jul 21
5
superlifter design notes (OpenVMS perspective)
> Qualities
>
> 1. Be reasonably portable: at least in principle, it should be
> possible to port to Windows, OS X, and various Unixes without major
> changes.
In general, I would like to see OpenVMS in that list.
> Principles
>
> 1. Clean design rather than micro-optimization.
A clean design allows optimization to be done by the compiler, and tight
optimization
2002 Jan 13
1
rsynd-2.5.1 / batch.c patch
Platform: Compaq OpenVMS Alpha 7.3
Compiler: Compaq C T6.5
The following patch is an update to a previous patch that I submitted.
The only change from the previous patch is that the const qualifier has
been added to write_batch_*() routines to improve compiler efficiency.
Because the gdiff -u was done against the distribution it includes the
previous patch.
The functions with no parameters
2002 Jan 07
1
rsync-2.5.1 / socket.c - unititialized variable breaks build.
In socket.c, the variable error is unitilialzed.
Also the variable length should be an unsigned int.
EAGLE> type socket.gdiff
--- ref_src:socket.c Sat Jan 5 13:27:07 2002
+++ lcl_src:socket.c Sun Jan 6 08:40:51 2002
@@ -1,3 +1,4 @@
+/* Converted by prj_src:unix_c_to_vms_c.tpu AND prj_src:socket.tpu on
6-JAN-20
02 08:40:51.01 OPENVMS_AXP */
/* -*- c-file-style: "linux"
2002 Jan 13
1
rsynd-2.5.1 / hlink.c patches
Platform: Compaq OpenVMS Alpha 7.3
Compiler: Compaq C T6.5
The following patch resolves compile problems with the HLINK.C module.
The cast on function argument for the qsort() routine was wrong, and not
allowing the compile to complete.
When the function definiton of the hlink_compare() is corrected to have
the const qualifiers, the cast inside the qsort() function call is no
longer
2002 Jan 07
0
rsync-2.5.1 / lib patches
The following zlib files need patches in order to compile using Compaq C
on OpenVMS. These should work on any ANSI compliant compiler.
Operating System: OpenVMS ALPHA V7.3
Compiler: Compaq C T6.5
Compiler switches: /WARN=ENABLE=(LEVEL4, QUESTCODE)
fnmatch.c and mdfour.c. Compaq C on OpenVMS can not deal with relative
path names in #include files.
Also the local prototype for getenv() does
2002 Jan 13
0
rsynd-2.5.1 / checksum.c patches
Platform: Compaq OpenVMS Alpha 7.3
Compiler: Compaq C T6.5
The following patch resolves compile problems with the checksum.c module.
The type (char) was being used where the usage indicated either (void)
or (unsigned char) should be used.
The const qualifier was added to impove compiler efficiency.
There may be more cases in this module where type (char) is being used
instead of what appears
2002 Feb 11
0
RSYNC 2.5.2 type mismatches in batch.c
Platform: OpenVMS Alpha 7.3
Compiler: Compaq C T6.5-002 on OpenVMS Alpha V7.3
Comile flags: /WARN=ENABLE=(LEVEL4, QUESTCODE)
Best guess at UNIX equivalents of above compile flags:
LEVEL4 = All warnings
QUESTCODE = Do LINT processing on source.
-John
wb8tyw@qsl.network
Personal Opinion Only
batch.c
(char *) is being used as a type, when a generic structure is being passed.
(void *) appears
2002 Jul 23
0
superlifter - Backup v.s. file distribution.
I would like to suggest that different programs be used for backups than
for file distribution.
While the two applications have a lot in common, and could probably
share a common library, there are some significant differences in what
they need to do.
These differences can add needless complexity to the design if a single
program is used to do both.
A backup program is mainly concerned with
2010 Feb 23
2
cygwin + rsync issue under Windows 7 x64
Friends -- I am posting this to both lists since I think
it has to do with some kind of unfortunate interaction.
The latest rsync (3.0.7-1) under an up-to-date cygwin
on Windows 7 x64 gets into some kind of busy wait
situation when transferring large files over ssh.
rsync, ssh, and zip can all be consuming much cpu time.
I downloaded and built rsync 3.0.7 locally, manually
editing config.status
2002 Jan 07
0
rsync-2.5.1 / updated syscall.c "const" patch
Operating System: OpenVMS ALPHA V7.3
Compiler: Compaq C T6.5
Compiler switches: /WARN=ENABLE=(LEVEL4, QUESTCODE)
syscall.c is missing the "const" qualifiers for several of it's
functions. This patch should supercede the previous patch I submitted.
This was discovered while working on resovling the conflicts between
signed and unsigned values.
-John
wb8tyw@qsl.network
Personal
2002 Jan 07
2
rsync-2.5.1 / popt patches
The following popt files need patches in order to compile using Compaq C
on OpenVMS. These patches should also be needed on a Tru64 or LINUX on
ALPHA using Compaq C. Except for the alloca issue, these should work on
any ANSI compliant compiler.
Operating System: OpenVMS ALPHA V7.3
Compiler: Compaq C T6.5
Compiler switches: /WARN=ENABLE=(LEVEL4, QUESTCODE)
SYSTEM.H is doing tests on