Download chips/yosys/libs/fst/00_PATCH_wx_len_overread.patch from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/libs/fst/00_PATCH_wx_len_overread.patch
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/libs/fst/00_PATCH_wx_len_overread.patch
-
curl -L -o 00_PATCH_wx_len_overread.patch https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/libs/fst/00_PATCH_wx_len_overread.patch
383 Bytes
| --- fstapi.cc | |
| +++ fstapi.cc | |
| for(;;) | |
| } | |
| wx_len = snprintf(wx_buf, 32, "r%.16g", d); | |
| + if (wx_len > 32 || wx_len < 0) wx_len = 32; | |
| fstWritex(xc, wx_buf, wx_len); | |
| } | |
| } | |