Displaying 2 results from an estimated 2 matches for "a3e0254".
Did you mean:
370254
2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
...NULL;
+ if ((flags & O_ACCMODE) == O_WRONLY) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ dp = malloc(sizeof(DIR));
+
+ if(!dp)
+ return NULL;
+
+ dp->__fd = fd;
+ dp->next = NULL;
+ dp->bytes_left = 0;
+ return dp;
+}
diff --git a/usr/klibc/tests/Kbuild b/usr/klibc/tests/Kbuild
index a3e0254..5e6e073 100644
--- a/usr/klibc/tests/Kbuild
+++ b/usr/klibc/tests/Kbuild
@@ -14,6 +14,7 @@ static-y := $(test-files:.c=)
shared-y := $(addsuffix .shared, $(static-y))
environ.shared-y := environ.o
+fdopendir.shared-y := fdopendir.o
fcntl.shared-y := fcntl.o
fnmatch.shared-y := fnmatch.o
ge...
2011 Aug 16
2
[PATCH] test: Add signal nodefer
...hank you.
usr/klibc/tests/Kbuild | 1 +
usr/klibc/tests/sig-nodefer.c | 55 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 0 deletions(-)
create mode 100644 usr/klibc/tests/sig-nodefer.c
diff --git a/usr/klibc/tests/Kbuild b/usr/klibc/tests/Kbuild
index a3e0254..b7978d4 100644
--- a/usr/klibc/tests/Kbuild
+++ b/usr/klibc/tests/Kbuild
@@ -35,6 +35,7 @@ select.shared-y := select.o
setenvtest.shared-y := setenvtest.o
setjmptest.shared-y := setjmptest.o
sigint.shared-y := sigint.o
+sig-nodefer.shared-y := sig-nodefer.o
socket.shared-y := socket.o
stat...