summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-02-08 06:48:37 +0000
committerpeter <peter@FreeBSD.org>1998-02-08 06:48:37 +0000
commitd7aa12e045aeb99a7de516e8949736d3f79b4034 (patch)
tree1257309b02b63f1cddf982846ad29072cd6de1d8
parent9f39ec243f618011e7a4ef9ca5816800f5f7482f (diff)
downloadFreeBSD-src-d7aa12e045aeb99a7de516e8949736d3f79b4034.zip
FreeBSD-src-d7aa12e045aeb99a7de516e8949736d3f79b4034.tar.gz
Reduce the sleep(1) inbetween each diff, as suggested by bde some time
ago. The real fix is rather large.
-rw-r--r--contrib/cvs/src/rcscmds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/cvs/src/rcscmds.c b/contrib/cvs/src/rcscmds.c
index 9a237a9..f62b279 100644
--- a/contrib/cvs/src/rcscmds.c
+++ b/contrib/cvs/src/rcscmds.c
@@ -148,7 +148,8 @@ call_diff (out)
The real fix, of course, will be to have the diff library do all
its output through callbacks (which CVS will supply as cvs_output
and cvs_outerr). */
- sleep (1);
+ /* sleep (1); */
+ usleep (10000);
if (out == RUN_TTY)
return diff_run (call_diff_argc, call_diff_argv, NULL);
@@ -171,7 +172,8 @@ call_diff3 (out)
The real fix, of course, will be to have the diff library do all
its output through callbacks (which CVS will supply as cvs_output
and cvs_outerr). */
- sleep (1);
+ /* sleep (1); */
+ usleep (10000);
if (out == RUN_TTY)
return diff3_run (call_diff_argc, call_diff_argv, NULL);
OpenPOWER on IntegriCloud