[Bug 2130] suppressing progress bar when not the foreground process

samba-bugs at samba.org samba-bugs at samba.org
Tue Dec 14 19:01:32 GMT 2004


https://bugzilla.samba.org/show_bug.cgi?id=2130





------- Additional Comments From wayned at samba.org  2004-12-14 12:01 -------
Created an attachment (id=843)
 --> (https://bugzilla.samba.org/attachment.cgi?id=843&action=view)
My version of the patch to progress.c

I'm considering this change, and I think it looks good with a couple changes to
the progress.c part of the patch:

- Make use of the HAVE_GETPGRP define.
- Don't skip the output if tcgetpgrp() returns -1 (as it will
  if output is redirected to a file).

Is it safe to assume that if a system has getpgrp() that it also has
tcgetpgrp()?  That's what both our patches are currently doing, and it seems
reasonable to me.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list