HomeFreeBSD

sh: Constify internal representation in expand.c.

Description

sh: Constify internal representation in expand.c.

Forbid (temporary or permanent) modifications of the strings in NARG nodes
during expansion.

Tilde expansion now needs to copy the username for the terminating '\0'.

Details

Provenance
jillesAuthored on
Parents
rS294691: Fix bug in the readpassphrase(3) function, which can be exposed
Branches
Unknown
Tags
Unknown