summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-03-12 13:11:14 -0700
committerKhem Raj <raj.khem@gmail.com>2019-03-14 07:24:03 -0700
commit9d8943fd2ec43868a1ca76712fd15dcc144f75ff (patch)
tree68909cd0d6afcafc83f952785e9dc7fea90c164e /meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch
parent0597e79805b0e7d51c292b3767f3b8d097daf8de (diff)
downloadmeta-openembedded-9d8943fd2ec43868a1ca76712fd15dcc144f75ff.tar.gz
klibc: Upgrade to 2.0.6 release
Drop staging related patches which are not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch b/meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch
new file mode 100644
index 0000000000..3bc081d4e9
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/klibc/files/0001-mkfifo-Implement-mkfifo.patch
@@ -0,0 +1,27 @@
1From cf97079009ba48d10e52052b2eab7461ea4dd09b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 Jul 2017 20:42:50 -0700
4Subject: [PATCH] mkfifo: Implement mkfifo
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9 usr/utils/mkfifo.c | 5 +++++
10 1 file changed, 5 insertions(+)
11
12diff --git a/usr/utils/mkfifo.c b/usr/utils/mkfifo.c
13index 5a758b2..f1f577e 100644
14--- a/usr/utils/mkfifo.c
15+++ b/usr/utils/mkfifo.c
16@@ -26,6 +26,11 @@ static int make_fifo(char *dir)
17 return 0;
18 }
19
20+int mkfifo (const char *__p, mode_t __m)
21+{
22+ return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0);
23+}
24+
25 int main(int argc, char *argv[])
26 {
27 int c, ret = 0;