$NetBSD: patch-ab,v 1.1.1.1 2001/05/23 15:47:45 agc Exp $ --- zapres.c.orig Fri Sep 13 20:52:50 1996 +++ zapres.c Sat May 12 23:26:01 2001 @@ -17,8 +17,9 @@ #include #include -#include +#include #include +#include "compat.h" int backup(FILE *f,char *oldname) { @@ -31,7 +32,7 @@ int result=0; _splitpath(oldname,drive,dir,fname,ext); - _makepath(path,drive,dir,fname,".BAK"); + _makepath(path,drive,dir,fname,".bak"); bak=fopen(path,"wb"); if(bak) { @@ -102,7 +103,7 @@ else for(i=1;i