version 1.27, 2014/07/05 06:40:54 |
version 1.28, 2014/07/05 06:45:00 |
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
*/ |
*/ |
|
|
|
#include <dirent.h> |
|
|
#include "defs.h" |
#include "defs.h" |
|
|
/* |
/* |
|
|
removefile(struct stat *statb, int silent) |
removefile(struct stat *statb, int silent) |
{ |
{ |
DIR *d; |
DIR *d; |
static DIRENTRY *dp; |
static struct dirent *dp; |
char *cp; |
char *cp; |
struct stat stb; |
struct stat stb; |
char *optarget; |
char *optarget; |
|
|
doclean(char *cp) |
doclean(char *cp) |
{ |
{ |
DIR *d; |
DIR *d; |
DIRENTRY *dp; |
struct dirent *dp; |
struct stat stb; |
struct stat stb; |
char *optarget, *ep; |
char *optarget, *ep; |
int len; |
int len; |