git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Usermode/ld-acess - Overhaul cleanup of ELF loader
[tpg/acess2.git]
/
Usermode
/
Libraries
/
ld-acess.so_src
/
lib.c
diff --git
a/Usermode/Libraries/ld-acess.so_src/lib.c
b/Usermode/Libraries/ld-acess.so_src/lib.c
index
0672102
..
9b8f86a
100644
(file)
--- a/
Usermode/Libraries/ld-acess.so_src/lib.c
+++ b/
Usermode/Libraries/ld-acess.so_src/lib.c
@@
-73,10
+73,9
@@
void *memcpy(void *dest, const void *src, size_t len)
int file_exists(const char *filename)
{
int fd;
- //fd = open(filename, OPENFLAG_READ);
- fd = open(filename, 0);
+ fd = _SysOpen(filename, 0);
if(fd == -1) return 0;
-
c
lose(fd);
+
_SysC
lose(fd);
return 1;
}
UCC
git Repository :: git.ucc.asn.au