[uClibc-cvs] uClibc/ldso/ldso ldso.c,1.97,1.98
Erik Andersen
andersen at uclibc.org
Wed May 12 22:54:52 UTC 2004
Update of /var/cvs/uClibc/ldso/ldso
In directory nail:/tmp/cvs-serv535/ldso
Modified Files:
ldso.c
Log Message:
Add a local '_dl_errno' to be used by syscalls in ldso, allowing
useful syscall failure diagnostics.
Index: ldso.c
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/ldso.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- a/ldso.c 11 May 2004 19:13:26 -0000 1.97
+++ b/ldso.c 12 May 2004 22:54:50 -0000 1.98
@@ -46,6 +46,7 @@
unsigned long *_dl_brkp = 0; /* The end of the data segment for brk and sbrk */
unsigned long *_dl_envp = 0; /* The environment address */
int _dl_secure = 1; /* Are we dealing with setuid stuff? */
+int _dl_errno = 0; /* We can't use the real errno in ldso */
size_t _dl_pagesize = 0; /* Store the page size for use later */
More information about the uClibc-cvs
mailing list