Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 1998 08:19:25 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-contrib@FreeBSD.ORG
Subject:   cvs commit: src/contrib/cvs/src rcscmds.c
Message-ID:  <199805271519.IAA16502@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1998/05/27 08:19:25 PDT

  Modified files:
    contrib/cvs/src      rcscmds.c 
  Log:
  Remove my hacks for capturing stdout/stderr through the protocol channel
  while calling libdiff.  It's too ugly and not worth the recursion problems
  when there is a malloc failure (which writes to stderr - now diverted via
  the buf system, which calls malloc, which causes another error message etc).
  
  We can live with the standard artificial slowdown, but reduce the time a
  bit and only delay when we really need to (ie: when running as a server).
  The usleep time could probably use some tuning, it basically needs to
  replace the time that it used to take to fork a large process, exec gnudiff
  and the time that gnudiff took before writing the initial output.
  
  This eliminates a whole mess of other hacks I was considering that changed
  use of xmalloc to alloca() etc.  It was going too fast in the wrong
  direction.
  
  Revision  Changes    Path
  1.5       +2 -106    src/contrib/cvs/src/rcscmds.c

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



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