Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 22:19:14 -0700 (PDT)
From:      Cy.Schubert@uumail.gov.bc.ca
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18977: rsync report not at end of job
Message-ID:  <200006030519.e535JEP48245@cwsys.cwsent.com>

next in thread | raw e-mail | index | archive | help

>Number:         18977
>Category:       ports
>Synopsis:       rsync report end job
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 02 22:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
UNIX Group, ITSD, ISTA, Province of BC
>Environment:

FreeBSD cwsys 4.0-STABLE FreeBSD 4.0-STABLE #0: Sat May 27 16:32:47 PDT 2000     root@:/usr/opt/cvs-400s-000527/src/sys/compile/CWSYS  i386

>Description:

When performing a an rsync between local directories the rsync
completion report is printed in the middle of the verbose listing, e.g.,

cwsys$ /usr/local/ports-400a/net/rsync/work/rsync-2.4.3/rsync -aHWSv ../yppapass
wd .
building file list ... done
yppapasswd/
yppapasswd/01-README
yppapasswd/yppapasswd-1.0.tar.gz
yppapasswd/yppapasswd-v1.0/
yppapasswd/yppapasswd-v1.0/Artistic
yppapasswd/yppapasswd-v1.0/Copying
yppapasswd/yppapasswd-v1.0/Install
yppapasswd/yppapasswd-v1.0/README
yppapasswd/yppapasswd-v1.0/psh
yppapasswd/yppapasswd-v1.0/ypchfn.1
yppapasswd/yppapasswd-v1.0/ypchsh.1
yppapasswd/yppapasswd-v1.0/yppapasswd
yppapasswd/yppapasswd-v1.0/yppapasswd.1
yppapasswd/yppapasswd-v1.0/yppapasswdd
yppapasswd/yppapasswd.README
wrote 98112 bytes  read 224 bytes  196672.00 bytes/sec
total size is 97153  speedup is 0.99
yppapasswd/
yppapasswd/yppapasswd-v1.0/
cwsys$

A PR has been submitted to the RSYNC group, RSYNC PR#2629.

>How-To-Repeat:

See above.

>Fix:

This patch has also been submitted to the RSYNC group.

--- main.c.orig	Fri Jun  2 21:56:58 2000
+++ main.c	Fri Jun  2 21:57:45 2000
@@ -488,11 +488,11 @@
 			io_flush();
 			wait_process(pid, &status);
 		}
-		report(-1);
 		if (remote_version >= 24) {
 			/* final goodbye message */		
 			read_int(f_in);
 		}
+		report(-1);
 		exit_cleanup(status);
 	}
 

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006030519.e535JEP48245>