Added white space trimming program to toolkit. Trimmed whitespace off toolkit. Minor cleanup to extraext.

This commit is contained in:
n-a-c-h
2005-06-02 00:13:26 +00:00
parent 97690f8d3f
commit b13fbb8f41
6 changed files with 127 additions and 19 deletions

View File

@@ -35,15 +35,15 @@ bool parse_dir(const char *dir_loc, void (*func)(const char *, struct stat&))
while ((curFile = readdir(curDir)))
{
char *filename = curFile->d_name;
if (!strcmp(filename, ".") || !strcmp(filename, ".."))
{
continue;
}
struct stat stat_buffer;
if (stat(filename, &stat_buffer)) { continue; }
//Directory
if (S_ISDIR(stat_buffer.st_mode))
{