OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db7a17d
)
Explain how wcswcs ended up in ndk_cruft.cpp.
author
Elliott Hughes
<enh@google.com>
Wed, 6 Aug 2014 17:47:33 +0000
(10:47 -0700)
committer
Elliott Hughes
<enh@google.com>
Wed, 6 Aug 2014 17:58:17 +0000
(10:58 -0700)
(cherry picked from commit
1628eb1d43008c52b00ec98d10c4fd9e8b6fc7c5
)
Change-Id: I335b35038781d0426b3647727e6c4f22c83e187b
libc/bionic/ndk_cruft.cpp
patch
|
blob
|
history
diff --git
a/libc/bionic/ndk_cruft.cpp
b/libc/bionic/ndk_cruft.cpp
index
e3e640a
..
0c72019
100644
(file)
--- a/
libc/bionic/ndk_cruft.cpp
+++ b/
libc/bionic/ndk_cruft.cpp
@@
-225,6
+225,7
@@
extern "C" int tkill(pid_t tid, int sig) {
return syscall(__NR_tkill, tid, sig);
}
+// This was removed from POSIX 2008.
extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) {
return wcsstr(haystack, needle);
}
@@
-267,7
+268,7
@@
extern "C" int getdtablesize() {
return r.rlim_cur;
}
-// Only used by ftime, which was removed from POSIX.
+// Only used by ftime, which was removed from POSIX
2008
.
struct timeb {
time_t time;
unsigned short millitm;