Two(?) bugs in the xattrs patch

2006-06-09 Thread Jay Fenlason
04 Red Hat, Inc */ +/* Written by Jay Fenlason, vaguely based on the ACLs patch */ @@ -590,10 +590,10 @@ + strcpy(ptr, name); + if (datum_size) + memcpy(ptr + len, datumbuf, datum_size); -+ x->rxas[curr_rsync_xal.cou

Re: rsync through multiple ssh hops with password authentication prompt

2005-10-21 Thread Jay Fenlason
On Thu, Oct 20, 2005 at 12:53:08PM -0700, Wayne Davison wrote: > On Wed, Oct 19, 2005 at 10:29:21PM -0400, Matt McCutchen wrote: > > $ ssh -L :target:22 -N -f [EMAIL PROTECTED] > > Password: middlepass > > Port-forwarding 22 is a great idea as long as ssh is configured not to > complain about

Byte order bug in token.c:send_deflated_token ?

2004-01-05 Thread Jay Fenlason
I was looking at send_deflated_token() when I noticed that it does int n, r; ... write_batch_delta_file((char *)&n,sizeof(char)); temp_byte = (char)(n >> 8); write_batch_delta_file(&temp_byte,sizeof(temp_byte)); Now on a little-endian machine &n will equal the address of the low-order byte of