The previous code always read in a defined size buffer and any name longer gets cut which causes issue during extraction because any collision on the truncated name causes components to get "lost". So here instead we keep a local stack buffer of 512 byte and use it if possible, but for longer string we allocate some space on the heap temporarily. Some later error processing had to be refactored a bit to make sure we can always clean-up after ourselves once we're done with the buffer. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| defRead.c | ||
| defWrite.c | ||
| lef.h | ||
| lefCmd.c | ||
| lefInt.h | ||
| lefRead.c | ||
| lefTech.c | ||
| lefWrite.c | ||
| tcllef.c | ||