From: Thomas Glanzmann Date: Mon, 16 Jul 2007 20:25:50 GMT Subject: Re: [PATCH] Do _not_ call unlink on a directory Message-ID: <20070716202550.GH16878@cip.informatik.uni-erlangen.de> In-Reply-To: Hello, > > is there a reason why we call unlink and not remove? > Exactly because we only want to remove _files_. of course. That is the whole point. Call unlink for files, rmdir for directories. Thomas