diff --git a/Makefile b/Makefile index 14569df..4f62be5 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ VPATH=str:byte:fmt:scan:uint:open:stralloc:unix:socket:buffer:mmap:textcode # diet libc (http://www.fefe.de/dietlibc/). DIET=diet -Os CC=gcc -CFLAGS=-I. -pipe -Wall -O2 -pipe -fomit-frame-pointer +CFLAGS=-I. -pipe -Wall -O2 -fomit-frame-pointer #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall BYTE_OBJS=$(patsubst byte/%.c,%.o,$(wildcard byte/*.c)) diff --git a/test/uudecode.c b/test/uudecode.c index 7f2770c..b96ca7a 100644 --- a/test/uudecode.c +++ b/test/uudecode.c @@ -50,7 +50,7 @@ int main(int argc,char* argv[]) { } } } - buffer_init(&fileout,write,ofd,buf,sizeof buf); + buffer_init(&fileout,write,ofd,obuf,sizeof obuf); /* read uuencoded lines */ for (;;) { char line[1000]; /* uuencoded lines can never be longer than 64 characters */