Skip to content

Commit

Permalink
Sync final new lines
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
petk committed Sep 9, 2018
1 parent d474643 commit 399c952
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
/*.filters
/*.vcxproj
/*.dir

1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

1 change: 0 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,3 @@
1998-05-28 Toni Ronkko

* First version.

1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

1 change: 0 additions & 1 deletion distclean.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@ foreach (file ${cmake_generated})
file (REMOVE_RECURSE ${file})
endif()
endforeach (file)

2 changes: 0 additions & 2 deletions examples/find.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,3 @@ find_directory(

return ok;
}


1 change: 0 additions & 1 deletion examples/locate.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,3 @@ db_close(
db = NULL;
}
}

1 change: 0 additions & 1 deletion examples/ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ list_directory(
exit (EXIT_FAILURE);
}
}

2 changes: 0 additions & 2 deletions examples/scandir.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,3 @@ list_directory(
printf ("Cannot open directory %s\n", dirname);
}
}


1 change: 0 additions & 1 deletion examples/updatedb.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,3 @@ db_close(
db = NULL;
}
}

1 change: 0 additions & 1 deletion include/dirent.h
Original file line number Diff line number Diff line change
Expand Up @@ -1156,4 +1156,3 @@ dirent_set_errno(
}
#endif
#endif /*DIRENT_H*/

1 change: 0 additions & 1 deletion tests/1/dir/readme.txt
Original file line number Diff line number Diff line change
@@ -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.

1 change: 0 additions & 1 deletion tests/3/README.txt
Original file line number Diff line number Diff line change
@@ -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.

1 change: 0 additions & 1 deletion tests/t-compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ main(
printf ("OK\n");
return EXIT_SUCCESS;
}

1 change: 0 additions & 1 deletion tests/t-cplusplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,3 @@ only_readme (const struct dirent *entry)

return pass;
}

1 change: 0 additions & 1 deletion tests/t-dirent.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,4 +600,3 @@ main(
printf ("OK\n");
return EXIT_SUCCESS;
}

2 changes: 0 additions & 2 deletions tests/t-scandir.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,3 @@ reverse_alpha(
{
return strcoll ((*b)->d_name, (*a)->d_name);
}


0 comments on commit 399c952

Please sign in to comment.