summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-02-14 09:47:14 +0000
committerpeter <peter@FreeBSD.org>1998-02-14 09:47:14 +0000
commitd5c5dbdaffd5f02a852ff0d9ba304b27da72d452 (patch)
tree4550666d2440cec75ab018eb97075522fea27d33 /release
parenta0c428b21450c842d307a011a4d5b3bbd7661b86 (diff)
downloadFreeBSD-src-d5c5dbdaffd5f02a852ff0d9ba304b27da72d452.zip
FreeBSD-src-d5c5dbdaffd5f02a852ff0d9ba304b27da72d452.tar.gz
A hack to work around the sleep prior to calling the built-in diff. This
affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the network. 1: don't pause at all unless running in server protocol mode. 2: if running in server protocol mode, do a kludge that intercepts the stdout and stderr write functions and diverts them to cvs_output() and cvs_outerr(). Yes, this might be done with fwopen() etc, but that also requires copying "FILE" structs since you can't freopen stdout etc and specify functions at the same time. This HACK will go away once the cvs folks have done their changes to the library version of gnu diff to use the callbacks as mentioned in the comments.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud