Should this be:

On Sun, Mar 27, 2016 at 9:22 PM, Warner Losh <i...@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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to