I'm adding a new escape to log-format, %s, to print out the checksum
of a file, and I've got a couple problems. They've got to be simple
bugs, but I haven't been able to figure them out. The following patch
gives me a broken pipe and a bus error when I test it. Note that I've
applied the md5
In article [EMAIL PROTECTED] (at Mon, 27 Jun 2005 00:07:19 -0600), Andrew
Shewmaker [EMAIL PROTECTED] says:
+ for (j = 0; j SUM_LENGTH; j++ ) {
+ snprintf(buf2 + j * 2, sizeof buf2,
fmt, file-u.sum[j]);
file-u.sum[j] 0xff
+
On Mon 27 Jun 2005, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
In article [EMAIL PROTECTED] (at Mon, 27 Jun 2005 00:07:19 -0600), Andrew
Shewmaker [EMAIL PROTECTED] says:
+ for (j = 0; j SUM_LENGTH; j++ ) {
+ snprintf(buf2 + j * 2, sizeof
Could someone remove [EMAIL PROTECTED] (most probably) from the list,
as people who subscribe to lists but require each and every poster to the
list to jump through hoops to have their messages delivered to the
person in question don't deserve a subscription...
Paul
On Mon 27 Jun 2005, [EMAIL
I'm trying to copy recursively only /etc, /home/samba/profiles and
/home/samba/shared.
To do so, I use this rsync command:
rsync --progress -v -u -a -z --stats \
--include=/etc \
--include=/home/samba/profiles \
--include=/home/samba/shared \
--exclude=/* \
--numeric-ids --delete-after -e ssh
On Mon, Jun 27, 2005 at 12:07:19AM -0600, Andrew Shewmaker wrote:
+ for (j = 0; j SUM_LENGTH; j++ ) {
+ snprintf(buf2 + j * 2, sizeof buf2, fmt,
file-u.sum[j]);
Not every entry will have a non-zero sum pointer (e.g. symlinks, dirs,
etc.),
On Mon, Jun 27, 2005 at 09:22:25AM -0700, Wayne Davison wrote:
so you need to be sure to check for this and print some other
value (N/A) for entries with a NULL pointer.
Actually, the proper fix is to check the mode using S_ISREG() and only
ever dereference u.sum for a regular file (since other
On Mon, Jun 27, 2005 at 04:05:47PM +0200, Tomasz Chmielewski wrote:
I'm trying to copy recursively only /etc, /home/samba/profiles and
/home/samba/shared.
The manpage explains how you need to include all directories on the way
down to the file/dir in the recursive descent. Or just use
On 6/27/05, Paul Slootman [EMAIL PROTECTED] wrote:
On Mon 27 Jun 2005, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
In article [EMAIL PROTECTED] (at Mon, 27 Jun 2005 00:07:19 -0600), Andrew
Shewmaker [EMAIL PROTECTED] says:
+ for (j = 0; j SUM_LENGTH; j++ ) {
+
On Sun, Jun 26, 2005 at 01:44:02AM -0400, Alejandro Mery wrote:
there is any trick/patch to let it support other htpasswd encrytion
methods? crypt,md5,sha1?
Since the password is not sent in the clear over the connection, having
the password in plain-text in the secrets file is not a problem
On 6/27/05, Wayne Davison [EMAIL PROTECTED] wrote:
On Mon, Jun 27, 2005 at 09:22:25AM -0700, Wayne Davison wrote:
so you need to be sure to check for this and print some other
value (N/A) for entries with a NULL pointer.
Actually, the proper fix is to check the mode using S_ISREG() and
On Sun, Jun 26, 2005 at 01:02:42PM -0400, Nathan Bullock wrote:
Invalid file index: 268456790 (count=0) [receiver]
This is the pertinent error from that sequence -- this means that the
data being sent over the socket has either been corrupted, or out-of-
sync somehow. The first thing to check
On Mon, Jun 27, 2005 at 10:56:41AM -0600, Andrew Shewmaker wrote:
+ strlcat(fmt, 02x, sizeof fmt);
The purpose of the fmt buffer is to allow the user to specify something
like %-20s and get the output formatted into their log line, so you
shouldn't be using the fmt
I want to set up RSYNC so it has root privilege on the remote server. I do not
want to run rsync through inetd.
I want to be able to limit who can use rsync when the remote end has root
privilege. I prefer not to use rsync's
internal user/secrets file. I do want to use SSH as the transport
Wayne Davison schrieb:
On Mon, Jun 27, 2005 at 04:05:47PM +0200, Tomasz Chmielewski wrote:
I'm trying to copy recursively only /etc, /home/samba/profiles and
/home/samba/shared.
The manpage explains how you need to include all directories on the way
down to the file/dir in the recursive
On Tue, Jun 28, 2005 at 01:03:10AM +0200, Markus F.X.J. Oberhumer wrote:
The small patch below against current CVS uses cmp_modtime() instead of
direct time_t comparisions in two more places.
Thanks -- I've checked it into CVS.
Also, it seems that cmp_modtime() should get called in
Date: Tue Jun 28 00:12:08 2005
Author: wayned
Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv2981
Modified Files:
generator.c
Log Message:
Use cmp_modtime() in a couple more spots where a local modtime is
compared with a remote modtime.
Revisions:
generator.c
Date: Tue Jun 28 00:15:45 2005
Author: wayned
Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv4618
Modified Files:
NEWS
Log Message:
Mention the latest time-comparing fixes.
Revisions:
NEWS1.309 = 1.310
18 matches
Mail list logo