[Bug 208938] usr.sbin/config does not preserve whitespace in static env

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 20 15:29:27 UTC 2016


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

            Bug ID: 208938
           Summary: usr.sbin/config does not preserve whitespace in static
                    env
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: sylvain at sylvaingarrigues.com

Created attachment 169494
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169494&action=edit
Preserve spaces and tabs between quotes in /usr/sbin/config

I should be able to set values with spaces in my kernel static environment
(option 'env  mykernel-static-env.env' in my kernel config, as long as they are
between quotes.

For instance, I want to be able to set:
loader_conf_files="/boot/loader.conf /boot/loader.conf.local"

Right now, this gets transformed into:
loader_conf_files="/boot/loader.conf/boot/loader.conf.local"

Attached patch fixes the issue and preserves spaces and tabs.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list