--- ./Makefile.orig 1999-06-15 15:39:06.000000000 -0500 +++ ./Makefile 2006-08-27 11:47:26.000000000 -0500 @@ -4,9 +4,9 @@ # Where to install binary and manpage on "make install": -PREFIX=/usr/local +PREFIX=/usr/ BINDIR=$(PREFIX)/bin -MANDIR=$(PREFIX)/man +MANDIR=$(PREFIX)/share/man SECTION=1 ################################################### @@ -104,8 +104,7 @@ linux: $(MAKE) CC=gcc LDFLAGS= \ - OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \ - audio_oss.o term.o' \ + OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_oss.o term.o' \ CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \ -DREAD_MMAP -DOSS -DTERM_CONTROL\ -Wall -O2 -m486 \ --- ./httpget.c.orig 1999-05-28 06:10:44.000000000 -0500 +++ ./httpget.c 2006-08-27 11:43:32.000000000 -0500 @@ -55,7 +55,7 @@ #endif int pos = 0; - while(1) { + while(maxlen>pos) { if( read(fileno(f),string+pos,1) == 1) { pos++; if(string[pos-1] == '\n') {