svn commit: r297331 - head/sbin/devd

Conrad Meyer cem at FreeBSD.org
Sun Apr 3 00:11:28 UTC 2016


Should this be:

On Sun, Mar 27, 2016 at 9:22 PM, Warner Losh <imp at freebsd.org> wrote:
> Author: imp
> Date: Mon Mar 28 04:22:22 2016
> New Revision: 297331
> URL: https://svnweb.freebsd.org/changeset/base/297331
> ...
> @@ -793,10 +793,15 @@ process_event(char *buffer)
>         devdlog(LOG_INFO, "Processing event '%s'\n", buffer);
>         type = *buffer++;
>         cfg.push_var_table();
> +       // $* is the entire line
> +       cfg.set_variable("*", buffer - 1);
> +       // $_ is the entire line without the initial character
> +       cfg.set_variable("_", buffer - 1);

'buffer', not 'buffer - 1'?

Best,
Conrad


More information about the svn-src-head mailing list