Calculate the msg_copyin() `xfer' as min(available space, ...) not
min(total space, ...). Otherwise we read outside of userland buffer.
Also, I like to use sizeof(variable) instead of sizeof(type).
ok cludwig
cad/geda-gaf: retire xorn which is Python 2 code
This project isn't being maintained and upstream suggests moving to
Ringdove instead.
In the meantime, stop building xorn so we can continue to move away from
stuff that needs Python 2.
Allocate a buffer for the line cache instead of reaching into db data.
Previously, vi used the db internal data buffer directly. Fixes a
problem where the line cache could become corrupted when the db
data changes out from under it. From Walter Alejandro Iglesias.
bin/ksh: restore source after interactive error recovery
unwind() may clear source while popping execution environments. The
interactive shell then expands PS1 before compile() restores source, so
a prompt command substitution using read -s can dereference NULL while
saving history. Restore source to the current interactive input source
before continuing to the prompt loop.
Reported by Luigi Vianello
OK: millert@
import ports/textproc/py-rapidfuzz, from Chris Billington, various tweaks
by me, tweak/ok landry@
This package provides the Python extension for RapidFuzz, a fast MIT-licensed
fuzzy string-matching library for Python and C++. It uses string similarity
calculations from a pre-GPL version of https://github.com/seatgeek/fuzzywuzzy
providing a wide range of fundamental algorithms:
- Damerau Levenshtein
- Hamming
- Indel
- Jaro
- JaroWinkler
- Levenshtein
- Longest Common Subsequence
- Optimal String Alignment (OSA)
- Prefix
- Postfix
for MODPY_PYBUILD, install the newly built wheel to a staging dir prior
to running python -m pytest, and add that staging dir to PYTHONPATH.
fixes some cases where "make test" would not work without first running
"make fake" (especially scikit-build, which removes the build files after
creating a wheel).