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/mouseStuff/phToPsl/phToPsl.c src/hg/mouseStuff/phToPsl/phToPsl.c
index 7814e5d..75d2d8a 100644
--- src/hg/mouseStuff/phToPsl/phToPsl.c
+++ src/hg/mouseStuff/phToPsl/phToPsl.c
@@ -337,31 +337,31 @@
 tSize = findSize(tSizeHash, tName);
 
 /* Loop through alignments between this query and target. */
 while (convertOneAli(lf, qName, tName, qSize, tSize, f))
     ;
 
 freez(&qName);
 return TRUE;
 }
 
 void phToPsl(char *inName, char *qSizes, char *tSizes, char *outName)
 /* phToPsl - Convert from Pattern Hunter to PSL format. */
 {
 struct lineFile *lf = lineFileOpen(inName, TRUE);
 FILE *f = mustOpen(outName, "w");
-char dir[256], root[128], ext[64];
+char dir[PATH_LEN], root[FILENAME_LEN], ext[FILEEXT_LEN];
 struct hash *qSizeHash = readSizes(qSizes);
 struct hash *tSizeHash = readSizes(tSizes);
 
 splitPath(inName, dir, root, ext);
 tName = optionVal("tName", root);
 
 pslWriteHead(f);
 while (convertOneQuery(lf, qSizeHash, tSizeHash, f))
     ;
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 optionHash(&argc, argv);