rsync 2.5.5, HPUX, getting unexplained error at main.c(578)

Charles F. Fisher chuck at bureau13.cc.uky.edu
Thu May 30 07:06:02 EST 2002


On Wed, May 29, 2002 at 05:47:10PM -0400, Allen D. Winter wrote:
> Once upon a time I threw printfs all over the source looking to track down
> the cause of this problem.  Seemingly a random error code is generated
> each time rsync is run *succesfully* on HPUX.
> 
> I finally found that in the wait_process() function in main.c, the status 
> value returned from WEXITSTATUS() was apparently returning
> the pid of the child instead of the exit status of the child... or something
> like that.
> 
> I've learned to ignore the error codes and live with it.
> Love to see this fixed.
> 
It doesn't seem to be a simple function of the child pid. I put printfs in
wait_process and ran a few tests; the status was being returned by rsync
as the unknown error, but did not seem to be related to the pid:

pid     status   unknown error reported
10899   49       49
11086   62       62
11192   221      221 




More information about the rsync mailing list