Ensure all source code end with one and only one newline

by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
This commit is contained in:
Xiang Xiao 2020-02-07 21:31:07 +08:00 committed by Gregory Nutt
parent 4a13a0893f
commit 779197c63e
12 changed files with 12 additions and 11 deletions

View File

@ -2,4 +2,4 @@ hello++1
hello++2 hello++2
hello++3 hello++3
hello++4 hello++4
hello++5 hello++5

View File

@ -5,4 +5,4 @@
<h3>Go <a href="/">here</a> instead.</h3> <h3>Go <a href="/">here</a> instead.</h3>
</center> </center>
</body> </body>
</html> </html>

View File

@ -2,4 +2,4 @@
<h1>Current connections</h1><br><table width="100%"> <h1>Current connections</h1><br><table width="100%">
<tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr> <tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr>
%! tcp-connections %! tcp-connections
%!: /footer.html %!: /footer.html

View File

@ -10,4 +10,4 @@ $ja["format"]["interlace"] = false;
$ja["format"]["frame rate"] = 24; $ja["format"]["frame rate"] = 24;
echo json_encode($ja); echo json_encode($ja);
?> ?>

View File

@ -1,3 +1,3 @@
<?php <?php
echo json_encode($_POST); echo json_encode($_POST);
?> ?>

View File

@ -128,4 +128,4 @@ int ft80x_ramdl_append(int fd, FAR const void *data, size_t len)
DEBUGASSERT(nwritten == len); DEBUGASSERT(nwritten == len);
return OK; return OK;
} }

View File

@ -193,4 +193,4 @@ namespace SLcd
.segments = SEGMENT_5 .segments = SEGMENT_5
} }
}; };
} }

View File

@ -69,4 +69,4 @@
int basic(FAR const char *script, FILE *in, FILE *out, FILE *err); int basic(FAR const char *script, FILE *in, FILE *out, FILE *err);
#endif #endif

View File

@ -1,2 +1,2 @@
/unity.h /unity.h
/unity_internals.h /unity_internals.h

View File

@ -0,0 +1 @@

2
testing/.gitignore vendored
View File

@ -1 +1 @@
/Kconfig /Kconfig

View File

@ -300,4 +300,4 @@ static void tx_eventcb(FAR struct ieee802154_primitive_s *primitive, FAR void *a
sem_post(&i8sak->sigsem); sem_post(&i8sak->sigsem);
i8sak_requestdaemon(i8sak); i8sak_requestdaemon(i8sak);
} }