HomeFreeBSD

shells/scponly: fix segfault on FreeBSD 12 and newer

Description

shells/scponly: fix segfault on FreeBSD 12 and newer

On FreeBSD 12+ basename(3) writes to its argument, which in scponly isn't a
writable string, so it segfaults. This patch works around it.

PR: 235810
Submitted by: fullermd@over-yonder.net

Details

Provenance
gargaAuthored on
Parents
rP493860: Drop maintainership since I don't use irssi anymore
Branches
Unknown
Tags
Unknown