diff options
Diffstat (limited to 'meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch')
-rw-r--r-- | meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch index 4fa3d184ed..9825216369 100644 --- a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch +++ b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 66533c7c6f347d257020675a1ed6e0c59cbbc3f0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Thu, 17 Jul 2014 15:53:34 +0800 | ||
4 | Subject: [PATCH] commonio.c-fix-unexpected-open-failure-in-chroot-env | ||
5 | |||
1 | Upstream-Status: Inappropriate [OE specific] | 6 | Upstream-Status: Inappropriate [OE specific] |
2 | 7 | ||
3 | commonio.c: fix unexpected open failure in chroot environment | 8 | commonio.c: fix unexpected open failure in chroot environment |
@@ -10,15 +15,16 @@ Note that this patch doesn't change the logic in the code, it just expands | |||
10 | the codes. | 15 | the codes. |
11 | 16 | ||
12 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 17 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
18 | |||
13 | --- | 19 | --- |
14 | lib/commonio.c | 16 ++++++++++++---- | 20 | lib/commonio.c | 16 ++++++++++++---- |
15 | 1 file changed, 12 insertions(+), 4 deletions(-) | 21 | 1 file changed, 12 insertions(+), 4 deletions(-) |
16 | 22 | ||
17 | diff --git a/lib/commonio.c b/lib/commonio.c | 23 | diff --git a/lib/commonio.c b/lib/commonio.c |
18 | index cc536bf..51cafd9 100644 | 24 | index 16fa7e7..d6bc297 100644 |
19 | --- a/lib/commonio.c | 25 | --- a/lib/commonio.c |
20 | +++ b/lib/commonio.c | 26 | +++ b/lib/commonio.c |
21 | @@ -613,10 +613,18 @@ int commonio_open (struct commonio_db *db, int mode) | 27 | @@ -632,10 +632,18 @@ int commonio_open (struct commonio_db *db, int mode) |
22 | db->cursor = NULL; | 28 | db->cursor = NULL; |
23 | db->changed = false; | 29 | db->changed = false; |
24 | 30 | ||
@@ -41,6 +47,3 @@ index cc536bf..51cafd9 100644 | |||
41 | db->fp = NULL; | 47 | db->fp = NULL; |
42 | if (fd >= 0) { | 48 | if (fd >= 0) { |
43 | #ifdef WITH_TCB | 49 | #ifdef WITH_TCB |
44 | -- | ||
45 | 1.7.9.5 | ||
46 | |||