diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bff76c3..c4cf884 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,5 +37,3 @@ Before making a pull request, please consider that: 3. Our code will be reviewed and edited by us. In particular, we may reformat your code according to the [Linux Kernel Coding Style](https://www.kernel.org/doc/html/v4.10/process/coding-style.html) - - diff --git a/README.md b/README.md index 93e21d6..9c56e27 100644 --- a/README.md +++ b/README.md @@ -173,4 +173,3 @@ both [Cygwin](http://www.cygwin.com) and [MingW](http://www.mingw.org) allow you to compile a great number of UNIX programs in Microsoft Windows. They both provide a full Dirent API as well as many other UNIX APIs. MingW can even be used for commercial applications! - diff --git a/examples/du.c b/examples/du.c index 17763f2..e3e4224 100644 --- a/examples/du.c +++ b/examples/du.c @@ -62,7 +62,7 @@ list_directory(const char *dirname, int level) char buffer[PATH_MAX + 2]; char *p = buffer; char *end = &buffer[PATH_MAX]; - + /* Copy directory name to buffer */ const char *src = dirname; while (p < end && *src != '\0') { diff --git a/examples/extension_lookup.cpp b/examples/extension_lookup.cpp index 4f19830..9c2423d 100644 --- a/examples/extension_lookup.cpp +++ b/examples/extension_lookup.cpp @@ -28,7 +28,7 @@ using namespace std; -int main(int argc, char *argv[]) +int main(int argc, char *argv[]) { string directory, extension; string csvFiles[50]; diff --git a/include/dirent.h b/include/dirent.h index fd1e813..be4e1ee 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -590,7 +590,7 @@ _wclosedir(_WDIR *dirp) /* * Release search handle if we have one. Being able to handle * partially initialized _WDIR structure allows us to use this - * function to handle errors occuring within _wopendir. + * function to handle errors occurring within _wopendir. */ if (dirp->handle != INVALID_HANDLE_VALUE) { FindClose(dirp->handle); @@ -926,7 +926,7 @@ _wseekdir(_WDIR *dirp, long loc) { if (!dirp) return; - + /* Directory must be open */ if (dirp->handle == INVALID_HANDLE_VALUE) goto exit_failure; diff --git a/tests/t-symlink.c b/tests/t-symlink.c index 5bafa90..31b0600 100644 --- a/tests/t-symlink.c +++ b/tests/t-symlink.c @@ -130,7 +130,7 @@ test_dirent(void) closedir(dir); #else - fprintf(stderr, "Skippped test_dirent\n"); + fprintf(stderr, "Skipped test_dirent\n"); #endif }