Project

General

Profile

Bug #715

mdb is muddled in its bitwise ops

Added by Rich Lowe about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2011-02-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

Searching for typoed boolean ops in place of bitwise:

source:usr/src/cmd/mdb/common/modules/crypto/sched_impl.c@13283#L215: if (!flags && DCMD_ADDRSPEC) {
source:usr/src/cmd/mdb/common/modules/crypto/spi.c@13283#L93: if (!(flags && DCMD_ADDRSPEC))
source:usr/src/cmd/mdb/common/mdb/mdb_help.c@13283#L157: if ((flags && DCMD_ADDRSPEC) || argc != 0)
source:usr/src/cmd/mdb/common/mdb/mdb_help.c@13283#L179: if ((flags && DCMD_ADDRSPEC) || argc != 0)

Are bogus

#1

Updated by Rich Lowe about 10 years ago

Resolved in r13286 commit:590780cedaf1

#2

Updated by Garrett D'Amore about 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Resolved in:

changeset: 13286:590780cedaf1
user: Richard Lowe <>
date: Wed Feb 09 11:47:49 2011 -0500
description:
715 mdb is muddled in its bitwise ops
Reviewed by:
Reviewed by:
Approved by:

Also available in: Atom PDF