decode-dimms gives warnings about SEEK_SET redefined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
i2c-tools (Debian) |
Fix Released
|
Unknown
|
|||
i2c-tools (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: i2c-tools
Ubuntu 8.10, i2c-tools 3.0.1-1.
decode-dimms generates three warnings from Perl on running.
$ decode-dimms >/dev/null
Constant subroutine main::SEEK_SET redefined at /usr/bin/
eval {...} called at /usr/bin/
Constant subroutine main::SEEK_CUR redefined at /usr/bin/
eval {...} called at /usr/bin/
Constant subroutine main::SEEK_END redefined at /usr/bin/
eval {...} called at /usr/bin/
$
It's because it's pulling in stuff from Fcntl that's already arrived
from POSIX. Here's a simpler way to produce the same warnings.
perl -we 'use POSIX; use Fcntl qw(:DEFAULT :seek)'
Changed in i2c-tools (Debian): | |
status: | Unknown → Fix Released |
Forwarded to the Debian maintainer.