Page MenuHomeFreeBSD

setclassenvironment: trim leading spaces in variable names
ClosedPublic

Authored by yuripv on Jul 13 2020, 1:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 10:44 PM
Unknown Object (File)
Sun, May 17, 10:43 PM
Unknown Object (File)
Sun, May 17, 10:10 PM
Unknown Object (File)
Fri, May 15, 5:54 AM
Unknown Object (File)
Thu, May 14, 6:52 PM
Unknown Object (File)
Thu, May 14, 6:52 PM
Unknown Object (File)
Thu, May 14, 2:54 PM
Unknown Object (File)
Sat, May 2, 6:10 AM

Details

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable