Page MenuHomeFreeBSD

setclassenvironment: trim leading spaces in variable names
AcceptedPublic

Authored by yuripv on Jul 13 2020, 1:24 PM.

Details

Reviewers
allanjude
Summary

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247947

Trim leading spaces in variable names when the list is e.g. pretty-formatted in /etc/login.conf or ~/.login_conf.

Test Plan

Set multiline tab/whitespace-indented setenv list in /etc/login.conf and ~/.login_conf, check that variables are correctly set in the environment.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped