28 lines
595 B
C
28 lines
595 B
C
|
/* lzw.c -- compress files in LZW format.
|
||
|
* This is a dummy version avoiding patent problems.
|
||
|
*/
|
||
|
|
||
|
#ifndef lint
|
||
|
static char rcsid[] = "$Id: lzw.c,v 1.1 1993/06/29 14:49:41 brezak Exp $";
|
||
|
#endif
|
||
|
|
||
|
#include "tailor.h"
|
||
|
#include "gzip.h"
|
||
|
#include "lzw.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
static int msg_done = 0;
|
||
|
|
||
|
/* Compress in to out with lzw method. */
|
||
|
int lzw(in, out)
|
||
|
int in, out;
|
||
|
{
|
||
|
if (msg_done) return ERROR;
|
||
|
msg_done = 1;
|
||
|
fprintf(stderr,"output in compress .Z format not supported\n");
|
||
|
in++, out++; /* avoid warnings on unused variables */
|
||
|
exit_code = ERROR;
|
||
|
return ERROR;
|
||
|
}
|