From 399c952ea0148c569c00dd80f53ae7f4113a4fe8 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 9 Sep 2018 07:59:23 +0200 Subject: [PATCH] Sync final new lines This patch syncs final new lines in files across the code base. This is for convenience when editing code in certain editors that automatically change the new lines and also to avoid having such changes as part of the commits with code changes for readability. --- .gitignore | 1 - CMakeLists.txt | 1 - ChangeLog | 1 - LICENSE | 1 - README.md | 1 - distclean.cmake | 1 - examples/find.c | 2 -- examples/locate.c | 1 - examples/ls.c | 1 - examples/scandir.c | 2 -- examples/updatedb.c | 1 - include/dirent.h | 1 - tests/1/dir/readme.txt | 1 - tests/3/README.txt | 1 - tests/t-compile.c | 1 - tests/t-cplusplus.cpp | 1 - tests/t-dirent.c | 1 - tests/t-scandir.c | 2 -- 18 files changed, 21 deletions(-) diff --git a/.gitignore b/.gitignore index fe165ab..2c54d6b 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,3 @@ /*.filters /*.vcxproj /*.dir - diff --git a/CMakeLists.txt b/CMakeLists.txt index c291105..674c505 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,4 +52,3 @@ add_test_executable (t-compile tests/t-compile.c) add_test_executable (t-dirent tests/t-dirent.c) add_test_executable (t-scandir tests/t-scandir.c) add_test_executable (t-cplusplus tests/t-cplusplus.cpp) - diff --git a/ChangeLog b/ChangeLog index e9cbb07..d79cea2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -127,4 +127,3 @@ 1998-05-28 Toni Ronkko * First version. - diff --git a/LICENSE b/LICENSE index 86a4351..d46ea89 100644 --- a/LICENSE +++ b/LICENSE @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/README.md b/README.md index 03af99c..4713178 100644 --- a/README.md +++ b/README.md @@ -94,4 +94,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/distclean.cmake b/distclean.cmake index 4286d31..60e69ad 100644 --- a/distclean.cmake +++ b/distclean.cmake @@ -60,4 +60,3 @@ foreach (file ${cmake_generated}) file (REMOVE_RECURSE ${file}) endif() endforeach (file) - diff --git a/examples/find.c b/examples/find.c index f14b22e..778521b 100644 --- a/examples/find.c +++ b/examples/find.c @@ -139,5 +139,3 @@ find_directory( return ok; } - - diff --git a/examples/locate.c b/examples/locate.c index 3182308..dbd1994 100644 --- a/examples/locate.c +++ b/examples/locate.c @@ -278,4 +278,3 @@ db_close( db = NULL; } } - diff --git a/examples/ls.c b/examples/ls.c index a0f5797..75fc546 100644 --- a/examples/ls.c +++ b/examples/ls.c @@ -95,4 +95,3 @@ list_directory( exit (EXIT_FAILURE); } } - diff --git a/examples/scandir.c b/examples/scandir.c index 062c281..0caf57a 100644 --- a/examples/scandir.c +++ b/examples/scandir.c @@ -101,5 +101,3 @@ list_directory( printf ("Cannot open directory %s\n", dirname); } } - - diff --git a/examples/updatedb.c b/examples/updatedb.c index e5a70d8..0b31f90 100644 --- a/examples/updatedb.c +++ b/examples/updatedb.c @@ -230,4 +230,3 @@ db_close( db = NULL; } } - diff --git a/include/dirent.h b/include/dirent.h index d14ebfe..272a950 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -1156,4 +1156,3 @@ dirent_set_errno( } #endif #endif /*DIRENT_H*/ - diff --git a/tests/1/dir/readme.txt b/tests/1/dir/readme.txt index a230251..e59af2f 100644 --- a/tests/1/dir/readme.txt +++ b/tests/1/dir/readme.txt @@ -1,4 +1,3 @@ This file ensures that the directory dir will be created accordingly when you unzip dirent to your computer. The directory itself is needed by the test program t-dirent. - diff --git a/tests/3/README.txt b/tests/3/README.txt index 43e64e1..a07591c 100644 --- a/tests/3/README.txt +++ b/tests/3/README.txt @@ -1,3 +1,2 @@ This directory contains some random files for the t-scandir test program. The files are empty and only the file names matter. - diff --git a/tests/t-compile.c b/tests/t-compile.c index 3d9ab50..a41ba63 100644 --- a/tests/t-compile.c +++ b/tests/t-compile.c @@ -44,4 +44,3 @@ main( printf ("OK\n"); return EXIT_SUCCESS; } - diff --git a/tests/t-cplusplus.cpp b/tests/t-cplusplus.cpp index d7e3e21..ba0eb88 100644 --- a/tests/t-cplusplus.cpp +++ b/tests/t-cplusplus.cpp @@ -158,4 +158,3 @@ only_readme (const struct dirent *entry) return pass; } - diff --git a/tests/t-dirent.c b/tests/t-dirent.c index 25dad59..266822e 100644 --- a/tests/t-dirent.c +++ b/tests/t-dirent.c @@ -600,4 +600,3 @@ main( printf ("OK\n"); return EXIT_SUCCESS; } - diff --git a/tests/t-scandir.c b/tests/t-scandir.c index ec6a669..a553606 100644 --- a/tests/t-scandir.c +++ b/tests/t-scandir.c @@ -149,5 +149,3 @@ reverse_alpha( { return strcoll ((*b)->d_name, (*a)->d_name); } - -