print + new files in verbose mode (Michael Kaminsky)

This commit is contained in:
rsc 2007-01-18 18:34:46 +00:00
parent 9ae5008386
commit 47964cbc7b

View file

@ -544,6 +544,9 @@ vacdata(DirSink *dsink, int fd, char *lname, VacFile *vf, Dir *dir)
return;
}
if(verbose)
fprint(2, "+ %s\n", lname);
/* look for an append only file */
if((dir->mode&DMAPPEND) != 0)
if(vd.size < dir->length)