Commit a8413476 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Checkpoint minor changes from long ago.

parent 036f44fe
......@@ -15,16 +15,14 @@ LIBS = -lz
imagezip: imagezip.o
$(CC) $(CFLAGS) imagezip.o $(LIBS) -o imagezip
newzip: newzip.o
$(CC) $(CFLAGS) newzip.o $(LIBS) -o newzip
imageunzip: imageunzip.o
$(CC) $(CFLAGS) imageunzip.o $(LIBS) -o imageunzip
newunzip: newunzip.o
$(CC) $(CFLAGS) newunzip.o $(LIBS) -o newunzip
install: $(INSTALL_BINDIR)/imagezip $(INSTALL_BINDIR)/imageunzip
client-install:
$(INSTALL_PROGRAM) imagezip /usr/local/bin/imagezip
$(INSTALL_PROGRAM) imageunzip /usr/local/bin/imageunzip
clean:
/bin/rm -f *.o imagezip imageunzip
......@@ -42,7 +42,7 @@ int slice;
#define SECSIZE 512
#define BSIZE (32 * 1024)
#define OUTSIZE (2 * BSIZE)
#define OUTSIZE (1 * BSIZE)
char inbuf[BSIZE], outbuf[OUTSIZE + SECSIZE], zeros[BSIZE];
int infd, outfd;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment