> On Jun 26, 2020, at 6:02 PM, Alexey Dokuchaev <da...@freebsd.org> wrote: > > On Sat, Jun 27, 2020 at 12:57:48AM +0000, Matt Macy wrote: >> New Revision: 362667 >> URL: https://svnweb.freebsd.org/changeset/base/362667 >> >> Log: >> Fix "current" variable name conflict with openzfs >> >> The variable "current" is an alias for curthread >> in openzfs. Rename all variable uses of current >> in dtrace.c to curstate. > > Shouldn't OpenZFS be fixed instead? The fact that we need to fix our > local variables suggests that they're abusing too generic nameā¦
I kind of agree with `current` being a bit too genericly named in both DTrace and OpenZFS :/.. Cheers, -Enji _______________________________________________ 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"