Rev | Line | |
---|
[3325] | 1 | /* lzw.c -- compress files in LZW format.
|
---|
| 2 | * This is a dummy version avoiding patent problems.
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifdef RCSID
|
---|
| 6 | static char rcsid[] = "$Id: lzw.c,v 1.3 1999/10/06 05:01:31 eggert Exp $";
|
---|
| 7 | #endif
|
---|
| 8 |
|
---|
| 9 | #include <config.h>
|
---|
| 10 | #include "tailor.h"
|
---|
| 11 | #include "gzip.h"
|
---|
| 12 | #include "lzw.h"
|
---|
| 13 |
|
---|
| 14 | static int msg_done = 0;
|
---|
| 15 |
|
---|
| 16 | /* Compress in to out with lzw method. */
|
---|
| 17 | int lzw(in, out)
|
---|
| 18 | int in, out;
|
---|
| 19 | {
|
---|
| 20 | if (msg_done) return ERROR;
|
---|
| 21 | msg_done = 1;
|
---|
| 22 | fprintf(stderr,"output in compress .Z format not supported\n");
|
---|
| 23 | if (in != out) { /* avoid warnings on unused variables */
|
---|
| 24 | exit_code = ERROR;
|
---|
| 25 | }
|
---|
| 26 | return ERROR;
|
---|
| 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.