tests: help-version: cross-check PATH in tests
[gzip.git] / lzw.c
blobfe5f004bad04e0c67619bde4f84a831148bd83d7
1 /* lzw.c -- compress files in LZW format.
2 * This is a dummy version avoiding patent problems.
3 */
5 #include <config.h>
6 #include "tailor.h"
7 #include "gzip.h"
8 #include "lzw.h"
10 static int msg_done = 0;
12 /* Compress in to out with lzw method. */
13 int lzw(in, out)
14 int in, out;
16 if (msg_done) return ERROR;
17 msg_done = 1;
18 fprintf(stderr,"output in compress .Z format not supported\n");
19 if (in != out) { /* avoid warnings on unused variables */
20 exit_code = ERROR;
22 return ERROR;