Date: Sat, 14 Feb 1998 01:47:15 -0800 (PST) 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: <199802140947.BAA01106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/02/14 01:47:15 PST Modified files: contrib/cvs/src rcscmds.c Log: 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. Revision Changes Path 1.3 +114 -4 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?199802140947.BAA01106>