584b7af6bcac17cc116ca2c4801e60a149d49c2c hiram Wed Aug 7 15:23:41 2024 -0700 BIGNUM needs to be a bit larger for chain/net processing on sequences over 1 Gb refs #34248 diff --git src/lib/chain.c src/lib/chain.c index f220497..ee6fe51 100644 --- src/lib/chain.c +++ src/lib/chain.c @@ -1,28 +1,30 @@ /* chain - pairwise alignments that can include gaps in both * sequences at once. This is similar in many ways to psl, * but more suitable to cross species genomic comparisons. */ /* Copyright (C) 2011 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "dnaseq.h" #include "dnautil.h" #include "chain.h" +#undef BIGNUM +#define BIGNUM 0x7fffffff /* larger than the standard size BIGNUM */ void chainFree(struct chain **pChain) /* Free up a chain. */ { struct chain *chain = *pChain; if (chain != NULL) { slFreeList(&chain->blockList); freeMem(chain->qName); freeMem(chain->tName); freez(pChain); } } void chainFreeList(struct chain **pList)