Changeset 5388

Show
Ignore:
Timestamp:
11/18/08 18:15:09 (6 years ago)
Author:
khali
Message:

Only export the ceil function from POSIX. By default, POSIX exports
everything, and this happens to generate warnings when using perl 5.10.0.
That's a perl bug, but we can still work around it and avoid potential
future issues of the same kind.

Location:
i2c-tools/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/CHANGES

    r5361 r5388  
    55  i2c-dev.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines 
    66  decode-dimms: Add support for little-endian word hexdumps 
     7                Only export the ceil function from POSIX 
    78  decode-vaio: Remove history 
    89  i2cdetect: Support i2c bus passed by name 
  • i2c-tools/trunk/eeprom/decode-dimms

    r5287 r5388  
    3939 
    4040use strict; 
    41 use POSIX; 
     41use POSIX qw(ceil); 
    4242use Fcntl qw(:DEFAULT :seek); 
    4343use vars qw($opt_html $opt_bodyonly $opt_igncheck $use_sysfs $use_hexdump