From bfe16de4be67565f1a1e7b1331fcbe3aedf9c54e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 28 Apr 2020 19:15:47 +0200 Subject: Userspace rewrite -> IT WORKS! :) Finally, after many months of work and rewrites the syscalls with constant char pointers work now :D --- src/userspace/mlibc/string/strdup.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/userspace/mlibc/string/strdup.c (limited to 'src/userspace/mlibc/string/strdup.c') diff --git a/src/userspace/mlibc/string/strdup.c b/src/userspace/mlibc/string/strdup.c deleted file mode 100644 index 6a4fa86..0000000 --- a/src/userspace/mlibc/string/strdup.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include - -char *strdup(const char *orig) -{ - // size_t s_orig = strlen(orig); - char *ret = 0; - // kmalloc(s_orig + 1); - strcpy(ret, orig); - return ret; -} \ No newline at end of file -- cgit v1.2.3