Page MenuHomeFreeBSD

setclassenvironment: trim leading spaces in variable names
ClosedPublic

Authored by yuripv on Jul 13 2020, 1:24 PM.
Tags
None
Referenced Files
F105823768: D25649.diff
Sat, Dec 21, 6:21 AM
Unknown Object (File)
Tue, Dec 3, 9:30 PM
Unknown Object (File)
Tue, Nov 26, 3:48 PM
Unknown Object (File)
Nov 2 2024, 12:49 PM
Unknown Object (File)
Nov 1 2024, 11:18 PM
Unknown Object (File)
Nov 1 2024, 11:18 PM
Unknown Object (File)
Nov 1 2024, 11:10 PM
Unknown Object (File)
Oct 25 2024, 1:57 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
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped