r6187: 1. Make sure that we don't try to delete . and .. in a more portable way.
commitfe7ddad7d44a49b2efe81cb3d0a5b2d09d1892ab
authorRichard Sharpe <sharpe@samba.org>
Sun, 3 Apr 2005 21:37:13 +0000 (3 21:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:11:24 +0000 (10 13:11 -0500)
treef3b06359369cb1c6b22de0f3557af67b43d3fee8
parent47e1452da08d06b0b9f15545b3b2b0631f15bac2
r6187: 1. Make sure that we don't try to delete . and .. in a more portable way.

2. Also, don't try to delete directories.

I am not entirely happy with this patch, and the fact that there is a
define for HAVE_SYS_STAT_H suggests that there are some systems for which
stat will not be defined, which means that the patch is not entirely
portable.
source/smbd/server.c