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/makeDb/hgLoadOutJoined/hgLoadOutJoined.c src/hg/makeDb/hgLoadOutJoined/hgLoadOutJoined.c
index dfd187b..b77fcf8 100644
--- src/hg/makeDb/hgLoadOutJoined/hgLoadOutJoined.c
+++ src/hg/makeDb/hgLoadOutJoined/hgLoadOutJoined.c
@@ -249,31 +249,31 @@
 	       tempName, tableName);
 sqlUpdate(conn, query->string);
 remove(tempName);
 }
 
 void processOneOut(char *database, struct sqlConnection *conn, char *rmskFile, char *suffix)
 /* Read one RepeatMasker .out file and load it into database. */
 {
 verbose(1, "Processing %s\n", rmskFile);
 
 readOneOut(rmskFile);
 
 /* Create database table (if not -tabFile). */
 if (tabFileName == NULL)
     {
-    char dir[256], base[128], extension[64];
+    char dir[PATH_LEN], base[FILENAME_LEN], extension[FILEEXT_LEN];
     char tableName[256];
     splitPath(rmskFile, dir, base, extension);
     chopSuffix(base);
     safef(tableName, sizeof(tableName), "%s_%s", base, suffix);
     closeFiles();
     loadOneTable(database, conn, defaultTempName, tableName);
     }
 }
 
 struct sqlConnection *theConn = NULL;
 
 void hgLoadOutJoined(char *database, int rmskCount, char *rmskFileNames[], char *suffix)
 /* hgLoadOutJoined - load RepeatMasker .out files into database. */
 {
 struct sqlConnection *conn = NULL;