21 lines
729 B
Diff
21 lines
729 B
Diff
References: 446098
|
|
|
|
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.
|
|
|
|
Index: i2c-tools/eeprom/decode-dimms
|
|
===================================================================
|
|
--- i2c-tools/eeprom/decode-dimms (revision 5287)
|
|
+++ i2c-tools/eeprom/decode-dimms (revision 5388)
|
|
@@ -38,7 +38,7 @@
|
|
require 5.004;
|
|
|
|
use strict;
|
|
-use POSIX;
|
|
+use POSIX qw(ceil);
|
|
use Fcntl qw(:DEFAULT :seek);
|
|
use vars qw($opt_html $opt_bodyonly $opt_igncheck $use_sysfs $use_hexdump
|
|
@vendors %decode_callback $revision @dimm_list %hexdump_cache);
|