=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/compress/Attic/compress.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/compress/Attic/compress.c 1997/01/17 07:12:29 1.4 +++ src/usr.bin/compress/Attic/compress.c 1997/01/19 17:25:11 1.5 @@ -1,4 +1,4 @@ -/* $OpenBSD: compress.c,v 1.4 1997/01/17 07:12:29 millert Exp $ */ +/* $OpenBSD: compress.c,v 1.5 1997/01/19 17:25:11 millert Exp $ */ /* $NetBSD: compress.c,v 1.9 1995/03/26 09:44:38 glass Exp $ */ /*- @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94"; #else -static char rcsid[] = "$OpenBSD: compress.c,v 1.4 1997/01/17 07:12:29 millert Exp $"; +static char rcsid[] = "$OpenBSD: compress.c,v 1.5 1997/01/19 17:25:11 millert Exp $"; #endif #endif /* not lint */ @@ -202,7 +202,7 @@ struct stat isb, sb; FILE *ifp, *ofp; int exists, isreg, oreg; - u_char buf[1024]; + u_char buf[BUFSIZ]; exists = !stat(out, &sb); if (!force && exists && S_ISREG(sb.st_mode) && !permission(out)) @@ -292,7 +292,7 @@ struct stat sb; FILE *ifp, *ofp; int exists, isreg, oreg; - u_char buf[1024]; + u_char buf[BUFSIZ]; exists = !stat(out, &sb); if (!force && exists && S_ISREG(sb.st_mode) && !permission(out))