summaryrefslogtreecommitdiff
path: root/lzo/util/uncompr.pl
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-04-07 20:43:34 +0200
committerParménides GV <parmegv@sdf.org>2014-04-08 11:43:27 +0200
commitc206a91d320995f37f8abb33188bfd384249da3d (patch)
tree10a7d8a9dd7f24437ac4851b8d01edbd5dd3ee3b /lzo/util/uncompr.pl
parent910b0e1746ab3f63e63808b198ad51fec5b635e5 (diff)
Next step: compile jni sources correctly.
Diffstat (limited to 'lzo/util/uncompr.pl')
-rw-r--r--lzo/util/uncompr.pl32
1 files changed, 0 insertions, 32 deletions
diff --git a/lzo/util/uncompr.pl b/lzo/util/uncompr.pl
deleted file mode 100644
index df3e969d..00000000
--- a/lzo/util/uncompr.pl
+++ /dev/null
@@ -1,32 +0,0 @@
-#! /usr/bin/perl
-##
-## vi:ts=4
-##
-##---------------------------------------------------------------------------##
-##
-## Author:
-## Markus F.X.J. Oberhumer <markus@oberhumer.com>
-##
-## Description:
-## Create incompressible files for compression test
-##
-## Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
-##
-##---------------------------------------------------------------------------##
-
-$x = ' ' x 65536;
-$i = 0;
-while ($i < 65536) {
- substr($x,$i,1) = pack('C',rand(256));
- $i++;
-}
-
-for $i (1,2,4,8,16,32,64) {
- $name = sprintf("u%04d.dat",$i);
- open(OUTFILE,">$name") || die "$0: cannot open '$name': $!";
- binmode(OUTFILE);
- print OUTFILE substr($x,0,$i*1024);
- close(OUTFILE);
-}
-
-exit(0);