f952b14fca3833e9d8fef0ae8a086ad15485b552
galt
  Wed Jan 1 02:11:38 2025 -0800
fix various errors for utils compiled on Rocky 9 hgwdev-new.

diff --git src/hg/checkTableCoords/checkTableCoords.c src/hg/checkTableCoords/checkTableCoords.c
index ad13eb3..8bb6a5e 100644
--- src/hg/checkTableCoords/checkTableCoords.c
+++ src/hg/checkTableCoords/checkTableCoords.c
@@ -445,31 +445,31 @@
 
 allChroms = hAllChromNames(db);
 if (theTable == NULL)
     tableList = getTableNames(conn);
 else if (sqlTableExists(conn, theTable))
     tableList = newSlName(theTable);
 else
     errAbort("Error: specified table \"%s\" does not exist in database %s.",
 	     theTable, db);
 
 for (curTable = tableList;  curTable != NULL;  curTable = curTable->next)
     {
     struct hTableInfo *hti = NULL;
     struct slName *chromList = NULL, *chromPtr = NULL;
     char *table = curTable->name;
-    char tableChrom[32], trackName[128], tableChromPrefix[33];
+    char tableChrom[HDB_MAX_CHROM_STRING], trackName[HDB_MAX_TABLE_STRING], tableChromPrefix[33];
     hParseTableName(db, table, trackName, tableChrom);
     hti = hFindTableInfo(db, tableChrom, trackName);
     if (hti != NULL && hti->isPos)
 	{
 	/* watch out for presence of both split and non-split tables; 
 	 * hti for non-split will be replaced with hti of split. */
 	if (splitAndNonSplitExist(conn, table, tableChrom))
 	    continue;
 	safef(tableChromPrefix, sizeof(tableChromPrefix), "%s_", tableChrom);
 	if (hti->isSplit)
 	    chromList = newSlName(tableChrom);
 	else
 	    chromList = allChroms;
 	/* invariant: chrom must be described in chromInfo. */
         /* items with bad chrom will be invisible to hGetBedRange(), so