ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzf.c
(Generate patch)

Comparing liblzf/lzf.c (file contents):
Revision 1.6 by root, Fri Jul 7 15:34:11 2006 UTC vs.
Revision 1.7 by root, Tue Aug 29 14:43:49 2006 UTC

202{ 202{
203 int c; 203 int c;
204 unsigned int blocksize = 64*1024-1; 204 unsigned int blocksize = 64*1024-1;
205 enum { m_compress, m_decompress } mode = m_compress; 205 enum { m_compress, m_decompress } mode = m_compress;
206 206
207 if (!strcmp (argv[0] + strlen (argv[0] - 5), "unlzf"))
208 mode = m_decompress;
209
210 while ((c = getopt (argc, argv, "cdb:h")) != -1) 207 while ((c = getopt (argc, argv, "cdb:h")) != -1)
211 switch (c) 208 switch (c)
212 { 209 {
213 case 'c': 210 case 'c':
214 mode = m_compress; 211 mode = m_compress;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines