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)
Fri, Jan 24, 5:20 PM
Unknown Object (File)
Thu, Jan 23, 12:20 PM
Unknown Object (File)
Sun, Jan 12, 1:55 AM
Unknown Object (File)
Mon, Dec 30, 12:10 PM
Unknown Object (File)
Dec 21 2024, 9:01 AM
Unknown Object (File)
Dec 21 2024, 6:21 AM
Unknown Object (File)
Dec 3 2024, 9:30 PM
Unknown Object (File)
Nov 26 2024, 3:48 PM

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