Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/xcvs/dist/src Relax arbitrary limit of 10, 000 ...



details:   https://anonhg.NetBSD.org/src/rev/cabbe40ff244
branches:  trunk
changeset: 331380:cabbe40ff244
user:      tls <tls%NetBSD.org@localhost>
date:      Sun Aug 10 07:09:51 2014 +0000

description:
Relax arbitrary limit of 10,000 changed files per commit idiotically
introduced in CVS 1.11.17.

diffstat:

 external/gpl2/xcvs/dist/src/server.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b19e15c6959b -r cabbe40ff244 external/gpl2/xcvs/dist/src/server.c
--- a/external/gpl2/xcvs/dist/src/server.c      Sun Aug 10 06:48:51 2014 +0000
+++ b/external/gpl2/xcvs/dist/src/server.c      Sun Aug 10 07:09:51 2014 +0000
@@ -1130,7 +1130,7 @@
     if (proxy_log) return;
 #endif /* PROXY_SUPPORT */
 
-    if (lim < 0 || lim > 10000)
+    if (lim < 0 || lim > 1000000)
        return;
     p = xmalloc (strlen (server_temp_dir) + 2 * lim + 10);
     if (p == NULL)
@@ -2989,7 +2989,7 @@
 
     if (error_pending()) return;
 
-    if (argument_count >= 10000)
+    if (argument_count >= 1000000)
     {
        if (alloc_pending (80))
            sprintf (pending_error_text, 



Home | Main Index | Thread Index | Old Index