svn commit: r362667 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace
Alexey Dokuchaev
danfe at freebsd.org
Sat Jun 27 01:02:06 UTC 2020
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...
./danfe
More information about the svn-src-all
mailing list