summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--lzf.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/Changes b/Changes
index bf417da..8d6346e 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,7 @@
+ - remove bogus broken horrific "unlzf" patch by Scott Feeney,
+ note to self: never accept well-meant patches.
+
1.6 Fri Jul 7 17:31:26 CEST 2006
- the lzf example utility will now uncompress if invoked
as "unlzf" (patch by Scott Feeney).
diff --git a/lzf.c b/lzf.c
index b608cc0..b4bce98 100644
--- a/lzf.c
+++ b/lzf.c
@@ -204,9 +204,6 @@ main (int argc, char *argv[])
unsigned int blocksize = 64*1024-1;
enum { m_compress, m_decompress } mode = m_compress;
- if (!strcmp (argv[0] + strlen (argv[0] - 5), "unlzf"))
- mode = m_decompress;
-
while ((c = getopt (argc, argv, "cdb:h")) != -1)
switch (c)
{