summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src/admin.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-05-27 15:19:23 +0000
committerpeter <peter@FreeBSD.org>1998-05-27 15:19:23 +0000
commit474b0e97b33ea1b8cf3639ea1281615f977d2255 (patch)
tree4241f49d3f0269e45c607b0578e2be9c0206286a /contrib/cvs/src/admin.c
parent0e1be7affa9cc69189e3c787140b797e78fe6482 (diff)
downloadFreeBSD-src-474b0e97b33ea1b8cf3639ea1281615f977d2255.zip
FreeBSD-src-474b0e97b33ea1b8cf3639ea1281615f977d2255.tar.gz
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.
Diffstat (limited to 'contrib/cvs/src/admin.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud