mknod() in glibc/eglibc will check the argument, like this,
...
if (k_dev != dev) {
__set_errno (EINVAL);
return -1;
}
...
So add argument check in uclibc's mknod() too.
Signed-off-by: Wang Yufen wangyu...@huawei.com
---
libc/sysdeps/linux/common/mknod.c |4
1 files
From: Wang Yufen wangyu...@huawei.com
I tested basename(path), path is ///, the basename(path) returned /,
but the input path also be modified to /. It because in basename impl,
last[1] = 0; modified the input path, I think that isn't correct.
This patch fix this problem.
Signed-off-by: Wang
On 2014/9/24 10:07, Wangyufen wrote:
From: Wang Yufen wangyu...@huawei.com
I tested basename(path), path is ///, the basename(path) returned /,
but the input path also be modified to /. It because in basename impl,
last[1] = 0; modified the input path, I think that isn't correct
From: Wang Yufen wangyu...@huawei.com
I tested basename(path), path is ///, the basename(path) returned /,
but the input path also be modified to /. It because in basename impl,
last[1] = 0; modified the input path, I think that isn't correct.
This patch fix this problem.
Signed-off-by: Wang
On 2014/9/20 18:12, wangyufen wrote:
Hi,
I tested the strptime() functionon arm board:
with uclibc:
strptime(x2084y, x%C%yy, tm) returns NULL
strptime(61, %S, tm) also returns NULL
but,on x86 with glibc:
strptime(x2084y, x%C%yy, tm) returns correct ptr
Hi,
I tested the strptime() functionon arm board:
with uclibc:
strptime(x2084y, x%C%yy, tm) returns NULL
strptime(61, %S, tm) also returns NULL
but,on x86 with glibc:
strptime(x2084y, x%C%yy, tm) returns correct ptr
strptime(61, %S, tm) returns correct ptr
Is this a
On 2014/9/4 19:40, Bernhard Reutner-Fischer wrote:
On 4 September 2014 00:01, Waldemar Brodkorb w...@openadk.org wrote:
Hi Carmelo,
Carmelo Amoroso wrote,
Hi,
I don't think clone on arm is missing RESET_PID if you use the
correct implementation from
From: Wang Yufen wangyu...@huawei.com
Called getpid() When creating a new process with clone(), getpid() returns
the father_process's value. It should be child_process's value.
The reason is missing a RESET_PID in the arm clone impl.
Signed-off-by: Wang Yufen wangyu...@huawei.com
---
From: Wang Yufen wangyu...@huawei.com
Called getpid() When creating a new process with clone(), getpid() returns
the father_process's value. It should be child_process's value.
The reason is missing a RESET_PID in the arm clone impl.
Signed-off-by: Wang Yufen wangyu...@huawei.com
---
From: Wang Yufen wangyu...@huawei.com
Called getpid() When creating a new process with clone(), getpid() returns
the father_process's value. It should be child_process's value.
The reason is missing a RESET_PID in the arm clone impl.
Signed-off-by: Wang Yufen wangyu...@huawei.com
---
10 matches
Mail list logo