4949a9c7acf44b2b027923d9995477b4115a8f5c blob 165 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
| | #include <errno.h>
#include <unistd.h>
long __syscall_ret(long r)
{
if ((unsigned long)r >= (unsigned long)-1 - 4096) {
errno = -r;
return -1;
}
return r;
}
|
debug log:
solving 4949a9c ...
found 4949a9c in https://inbox.vuxu.org/musl/20110925134725.GA24939@port70.net/
found 4f159e0 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 4f159e0b528fd05eb6cde5ae6ec688d667b20e51 src/internal/syscall_ret.c
applying [1/1] https://inbox.vuxu.org/musl/20110925134725.GA24939@port70.net/
diff --git a/src/internal/syscall_ret.c b/src/internal/syscall_ret.c
index 4f159e0..4949a9c 100644
Checking patch src/internal/syscall_ret.c...
Applied patch src/internal/syscall_ret.c cleanly.
index at:
100644 4949a9c7acf44b2b027923d9995477b4115a8f5c src/internal/syscall_ret.c
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).