An error occurred while fetching folder content.
search: find, and thus delete, only exact matches from history
Benno Schulenberg authored
This reverts commit df8c3deb from six years ago, which prevented a crash
on the Armel/Maemo platforms but causes nano to lose history items.

The strncmp() function on those platforms treats size_t numbers with
the high bit set as if they were zero.  To avoid that, use a number
that cannot be seen as negative, as suggested by <alpha@qzx.com>.

This fixes https://savannah.gnu.org/bugs/?48048

.
Tested-by: default avatarTito Ragusa <farmatito@tiscali.it>
Signed-off-by: default avatarBenno Schulenberg <bensberg@justemail.net>
660584c1
Name Last commit Last update