OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libc: Avoid redundant setting of ENOMEM
[uclinux-h8/uClibc.git]
/
libc
/
misc
/
dirent
/
opendir.c
diff --git
a/libc/misc/dirent/opendir.c
b/libc/misc/dirent/opendir.c
index
66a5cc9
..
8af00f8
100644
(file)
--- a/
libc/misc/dirent/opendir.c
+++ b/
libc/misc/dirent/opendir.c
@@
-110,7
+110,7
@@
DIR *opendir(const char *name)
if (!ptr) {
close_not_cancel_no_status(fd);
- __set_errno(ENOMEM);
+ /* __set_errno(ENOMEM); */
}
return ptr;
}