~ubuntu-branches/ubuntu/lucid/rsync/lucid

« back to all changes in this revision

Viewing changes to sender.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Slootman
  • Date: 2009-06-17 13:43:12 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090617134312-aopuowraetuj41s8
Tags: 3.0.6-1
* new upstream release.
* Manpage now states that MD5 is used for protocol version 30 and higher.
  closes:#520330
* Updated to standards version 3.8.2. Added debian/README.source .
* Added lintian override for embedded-zlib, as this is a modified version
  optimized for the rsync protocol. I.e. the standard zlib version will not
  work as well.
* Added a 'status' option to the init.d script.
  closes:#492138
* Manpage now declares --delete-during to be the default in the summary.
  closes:#472767,#476368

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 * Copyright (C) 1996 Andrew Tridgell
5
5
 * Copyright (C) 1996 Paul Mackerras
6
 
 * Copyright (C) 2003-2008 Wayne Davison
 
6
 * Copyright (C) 2003-2009 Wayne Davison
7
7
 *
8
8
 * This program is free software; you can redistribute it and/or modify
9
9
 * it under the terms of the GNU General Public License as published by
22
22
#include "rsync.h"
23
23
 
24
24
extern int verbose;
25
 
extern int dry_run;
26
25
extern int do_xfers;
27
26
extern int am_server;
28
27
extern int am_daemon;
153
152
        if (iflags & ITEM_XNAME_FOLLOWS)
154
153
                write_vstring(f_out, buf, len);
155
154
#ifdef SUPPORT_XATTRS
156
 
        if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && !dry_run)
 
155
        if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && do_xfers)
157
156
                send_xattr_request(fname, file, f_out);
158
157
#endif
159
158
}
223
222
                        rprintf(FINFO, "send_files(%d, %s%s%s)\n", ndx, path,slash,fname);
224
223
 
225
224
#ifdef SUPPORT_XATTRS
226
 
                if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && !dry_run)
 
225
                if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && do_xfers)
227
226
                        recv_xattr_request(file, f_in);
228
227
#endif
229
228