e505f514d7b741bb400ac03d81cd5ce4b778a00c galt Tue Dec 31 23:56:47 2024 -0800 minor compiler fix for hgClonePos. diff --git src/hg/makeDb/hgClonePos/hgClonePos.c src/hg/makeDb/hgClonePos/hgClonePos.c index 0ad0553..97bb5f6 100644 --- src/hg/makeDb/hgClonePos/hgClonePos.c +++ src/hg/makeDb/hgClonePos/hgClonePos.c @@ -27,31 +27,31 @@ " -maxErr=N set maximum allowed errors before aborting (default 0)\n" " -maxWarn=N set maximum number of warnings to print (default 10)\n" " -verbose=N set verbose level to N\n" "example:\n" " cd /cluster/store5/gs.18/build35\n" " hgClonePos -chromLst=chrom.lst hg17 build35 ./sequence.inf \\\n" " /cluster/store5/gs.18 -maxErr=3 -maxWarn=2000"); } int maxErr = 0; int maxWarn = 10; void addCloneInfo(char *glFileName, struct hash *cloneHash, struct clonePos **pCloneList) /* Add in clone info from one .gl file. */ { -char dir[256], chrom[128], ext[64]; +char dir[PATH_LEN], chrom[FILENAME_LEN], ext[FILEEXT_LEN]; struct gl gl; struct lineFile *lf = lineFileOpen(glFileName, TRUE); struct clonePos *clone; char *line, *words[8]; int lineSize, wordCount; char cloneVerName[128]; char cloneName[128]; printf("Processing %s\n", glFileName); splitPath(glFileName, dir, chrom, ext); while (lineFileNext(lf, &line, &lineSize)) { wordCount = chopLine(line, words); if (wordCount == 0) continue;