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/ratStuff/mafSplit/mafSplit.c src/hg/ratStuff/mafSplit/mafSplit.c
index 8e11e3e..102d5cd 100644
--- src/hg/ratStuff/mafSplit/mafSplit.c
+++ src/hg/ratStuff/mafSplit/mafSplit.c
@@ -306,31 +306,31 @@
     carefulClose(&f);
     ix++;
     nextFile = TRUE;
     bed = (struct bed *)slPopHead(&bedList);
     if (bed)
         splitPos = bed->chromStart;
     else
         splitPos = mc->srcSize;
     }
 mafFileFree(&mf);
 }
 
 void mafSplit(char *splitFile, char *outRoot, int mafCount, char *mafFiles[])
 /* Split MAF files at breaks in split file */
 {
-char dir[256], file[128];
+char dir[PATH_LEN], file[FILENAME_LEN];
 int i = 0;
 
 if (byTarget)
     verbose(1, "Splitting %d files by target sequence -- ignoring first "
 	    "argument %s\n",
 	    mafCount, splitFile);
 else
     verbose(1, "Splitting %d files from %s to %s\n",
 	    mafCount, splitFile, outRoot);
 splitPath(outRoot, dir, file, NULL);
 if (isNotEmpty(dir))
     makeDir(dir);
 else
     safef(dir, sizeof(dir), "%s", ".");
 if (byTarget)