shithub: scc

Download patch

ref: 93143fdbcbdf5fa2ecf4759f6c71344856469d87
parent: e0e4c5ac12c26af807a1a19d04cab53e8fae148e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Jan 22 01:48:07 EST 2020

libc: Add newline in the mem*.c files

POSIX mandates to finish text files with a newline,
otherwise is undefined behaviour.

--- a/src/libc/arch/amd64/memchr.c
+++ b/src/libc/arch/amd64/memchr.c
@@ -1,1 +1,1 @@
-#include "../../string/memchr.c"
\ No newline at end of file
+#include "../../string/memchr.c"
--- a/src/libc/arch/amd64/memcmp.c
+++ b/src/libc/arch/amd64/memcmp.c
@@ -1,1 +1,1 @@
-#include "../../string/memcmp.c"
\ No newline at end of file
+#include "../../string/memcmp.c"
--- a/src/libc/arch/amd64/memmove.c
+++ b/src/libc/arch/amd64/memmove.c
@@ -1,1 +1,1 @@
-#include "../../string/memmove.c"
\ No newline at end of file
+#include "../../string/memmove.c"
--- a/src/libc/arch/amd64/memset.c
+++ b/src/libc/arch/amd64/memset.c
@@ -1,1 +1,1 @@
-#include "../../string/memset.c"
\ No newline at end of file
+#include "../../string/memset.c"
--- a/src/libc/arch/arm32/memchr.c
+++ b/src/libc/arch/arm32/memchr.c
@@ -1,1 +1,1 @@
-#include "../../string/memchr.c"
\ No newline at end of file
+#include "../../string/memchr.c"
--- a/src/libc/arch/arm32/memcmp.c
+++ b/src/libc/arch/arm32/memcmp.c
@@ -1,1 +1,1 @@
-#include "../../string/memcmp.c"
\ No newline at end of file
+#include "../../string/memcmp.c"
--- a/src/libc/arch/arm32/memcpy.c
+++ b/src/libc/arch/arm32/memcpy.c
@@ -1,1 +1,1 @@
-#include "../../string/memcpy.c"
\ No newline at end of file
+#include "../../string/memcpy.c"
--- a/src/libc/arch/arm32/memmove.c
+++ b/src/libc/arch/arm32/memmove.c
@@ -1,1 +1,1 @@
-#include "../../string/memmove.c"
\ No newline at end of file
+#include "../../string/memmove.c"
--- a/src/libc/arch/arm32/memset.c
+++ b/src/libc/arch/arm32/memset.c
@@ -1,1 +1,1 @@
-#include "../../string/memset.c"
\ No newline at end of file
+#include "../../string/memset.c"
--- a/src/libc/arch/arm64/memchr.c
+++ b/src/libc/arch/arm64/memchr.c
@@ -1,1 +1,1 @@
-#include "../../string/memchr.c"
\ No newline at end of file
+#include "../../string/memchr.c"
--- a/src/libc/arch/arm64/memcmp.c
+++ b/src/libc/arch/arm64/memcmp.c
@@ -1,1 +1,1 @@
-#include "../../string/memcmp.c"
\ No newline at end of file
+#include "../../string/memcmp.c"
--- a/src/libc/arch/arm64/memcpy.c
+++ b/src/libc/arch/arm64/memcpy.c
@@ -1,1 +1,1 @@
-#include "../../string/memcpy.c"
\ No newline at end of file
+#include "../../string/memcpy.c"
--- a/src/libc/arch/arm64/memmove.c
+++ b/src/libc/arch/arm64/memmove.c
@@ -1,1 +1,1 @@
-#include "../../string/memmove.c"
\ No newline at end of file
+#include "../../string/memmove.c"
--- a/src/libc/arch/arm64/memset.c
+++ b/src/libc/arch/arm64/memset.c
@@ -1,1 +1,1 @@
-#include "../../string/memset.c"
\ No newline at end of file
+#include "../../string/memset.c"
--- a/src/libc/arch/i386/memchr.c
+++ b/src/libc/arch/i386/memchr.c
@@ -1,1 +1,1 @@
-#include "../../string/memchr.c"
\ No newline at end of file
+#include "../../string/memchr.c"
--- a/src/libc/arch/i386/memcmp.c
+++ b/src/libc/arch/i386/memcmp.c
@@ -1,1 +1,1 @@
-#include "../../string/memcmp.c"
\ No newline at end of file
+#include "../../string/memcmp.c"
--- a/src/libc/arch/i386/memcpy.c
+++ b/src/libc/arch/i386/memcpy.c
@@ -1,1 +1,1 @@
-#include "../../../string/memcpy.c"
\ No newline at end of file
+#include "../../../string/memcpy.c"
--- a/src/libc/arch/i386/memmove.c
+++ b/src/libc/arch/i386/memmove.c
@@ -1,1 +1,1 @@
-#include "../../string/memmove.c"
\ No newline at end of file
+#include "../../string/memmove.c"
--- a/src/libc/arch/i386/memset.c
+++ b/src/libc/arch/i386/memset.c
@@ -1,1 +1,1 @@
-#include "../../string/memset.c"
\ No newline at end of file
+#include "../../string/memset.c"