summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2006-08-29 14:43:49 +0000
committerroot <root>2006-08-29 14:43:49 +0000
commit22d6294e4c833573c3c165110e8c244833dd3eb6 (patch)
treeeb2a10718539a2c583ff3c74f48893dc6d80ba05
parentc236b409799117eb10770bb7225d10d8409dee35 (diff)
*** empty log message ***
-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)
{