On Sat, Jul 28, 2012 at 10:02:05PM +0200, Jan Klemkow wrote: > + if (stat(*cpp, &filestat) != 0) { > + warn(NULL); warn("local: %s", *cpp); So the user can see which file causes trouble. > + continue; > + }
> + if (chdir("..") != 0) { > + mflag = 0; warn("local: %s", *cpp); You have a warning in all other cases, put one here too. > + goto out; > + } bluhm