Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DB_File CPAN distribution.

Report information
The Basics
Id:
111726
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
JHI [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
1.838



Subject: Coverity finding: flagSet() test always false
DB_File.xs: 539 CID 135005 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands: (flags & 255) == 4294967196U /* (u_int)-100 */ is always false regardless of the values of its operands. This occurs as the logical operand of if. 540 if (flagSet(flags, R_SETCURSOR)) { CID 135009: Logically dead code (DEADCODE) [select issue] 541 if ((db->dbp)->put(db->dbp, NULL, &key, &value, 0) != 0) 542 return -1 ; This looks very similar to https://rt.cpan.org/Ticket/Display.html?id=101342 but I'm filing this separately to increase fixing pressure :-)
Ping.
On Sat Feb 13 22:06:03 2016, JHI wrote:
Show quoted text
> Ping.
This one will require a bit more analysis. I'm mapping a BDB 2.x (and greater) API onto a BDB 1.x API and can't remember offhand why I'm using the hard-wired value of -100 in this instance. Paul
On Sun Feb 14 17:46:54 2016, PMQS wrote:
Show quoted text
> On Sat Feb 13 22:06:03 2016, JHI wrote:
> > Ping.
> > This one will require a bit more analysis. I'm mapping a BDB 2.x (and > greater) API onto a BDB 1.x API and can't remember offhand why I'm > using the hard-wired value of -100 in this instance. > > Paul
Ping?
On Fri May 13 20:08:24 2016, JHI wrote:
Show quoted text
> On Sun Feb 14 17:46:54 2016, PMQS wrote:
> > On Sat Feb 13 22:06:03 2016, JHI wrote:
> > > Ping.
> > > > This one will require a bit more analysis. I'm mapping a BDB 2.x (and > > greater) API onto a BDB 1.x API and can't remember offhand why I'm > > using the hard-wired value of -100 in this instance. > > > > Paul
> > Ping?
Thanks for the reminder(s). Have it fixed now. Paul


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.