diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-17 21:16:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-17 21:16:42 +0000 |
commit | a3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (patch) | |
tree | f4a8a34f904c1bb86adcc3ae0e14434badc6dbe4 /Build/source/utils/gzip/lzw.c | |
parent | 6c0eafbb1395d426a72a74538e0b2a95e8344ca6 (diff) |
utils 1
git-svn-id: svn://tug.org/texlive/trunk@1484 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/gzip/lzw.c')
-rw-r--r-- | Build/source/utils/gzip/lzw.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/utils/gzip/lzw.c b/Build/source/utils/gzip/lzw.c new file mode 100644 index 00000000000..12bf5c611d0 --- /dev/null +++ b/Build/source/utils/gzip/lzw.c @@ -0,0 +1,26 @@ +/* lzw.c -- compress files in LZW format. + * This is a dummy version avoiding patent problems. + */ + +#ifdef RCSID +static char rcsid[] = "$Id: lzw.c,v 0.9 1993/06/10 13:27:31 jloup Exp $"; +#endif + +#include "tailor.h" +#include "gzip.h" +#include "lzw.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"); + if (in != out) { /* avoid warnings on unused variables */ + exit_code = ERROR; + } + return ERROR; +} |