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/hgLoadOut/hgLoadOut.c src/hg/makeDb/hgLoadOut/hgLoadOut.c index 433063c..e2607c7 100644 --- src/hg/makeDb/hgLoadOut/hgLoadOut.c +++ src/hg/makeDb/hgLoadOut/hgLoadOut.c @@ -283,31 +283,31 @@ } 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); if (split || noSplit) errAbort("program error: processOneOut doesn't do -split or -nosplit."); 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 loadOneSplitTable(struct hashEl *hel) /* Load the table for the given chrom. */ { char tempName[512];