e693c0a8bc61bdb54975f3134b482e27b7d6e17f galt Fri Dec 17 16:42:42 2010 -0800 support longer file and table lists diff --git src/hg/qaPushQ/qaPushQ.c src/hg/qaPushQ/qaPushQ.c index 95fc747..d031986 100644 --- src/hg/qaPushQ/qaPushQ.c +++ src/hg/qaPushQ/qaPushQ.c @@ -22,30 +22,31 @@ #include "formPushQ.h" #include "versionInfo.h" /* stuff to support outputting Release Log html */ #include "web.h" #include "hui.h" #include "dbDb.h" #include "htmlPage.h" static char const rcsid[] = "$Id: qaPushQ.c,v 1.124 2010/04/16 19:05:01 galt Exp $"; char msg[2048] = ""; char ** saveEnv; +#define BLSIZE 256000 /* size of strings for processing big lists of tables and files */ #define BUFMAX 256000 char html[BUFMAX]; char *action = NULL; /* have to put declarations first */ boolean crossPost = FALSE; /* are we doing cross-post from dev to beta (or vice versa)? */ /* support showSizes across machines */ char *database = NULL; char *host = NULL; char *user = NULL; char *password = NULL; struct sqlConnection *conn = NULL; struct sqlConnection *conn2 = NULL; @@ -2595,31 +2596,30 @@ c = s[i]; switch (c) { case '\t' : case '\n' : case '\r' : case '\f' : c = ' '; default: ss[ii++]=c; } } safef(s, l+1, "%s", ss); } -#define BLSIZE 100000 /* size of strings for processing big lists of tables and files */ void doShowSizes() /* show the sizes of all the track tables, cgis, and general files in separate window target= _blank */ { char tbl[BLSIZE] = ""; char db[1024] = ""; off_t size = 0; off_t totalsize = 0; unsigned long sizeMB = 0; int errCount = 0; off_t totalTable = 0; off_t totalGbdb = 0; off_t totalGoldenPath = 0; int tableCount = 0; int gbdbCount = 0;