[uClibc-cvs] uClibc/ldso/ldso readelflib1.c,1.46,1.47

Tobias Anderberg tobiasa at uclibc.org
Fri Sep 19 12:11:17 UTC 2003


Update of /var/cvs/uClibc/ldso/ldso
In directory winder:/tmp/cvs-serv10711

Modified Files:
	readelflib1.c 
Log Message:
Initialize strings as pointers instead of arrays.


Index: readelflib1.c
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/readelflib1.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- readelflib1.c	11 Sep 2003 10:47:23 -0000	1.46
+++ readelflib1.c	19 Sep 2003 12:11:14 -0000	1.47
@@ -223,8 +223,8 @@
 	const char *pnt, *pnt1;
 	struct elf_resolve *tpnt1;
 	const char *libname;
-	static const char libc[] = "libc.so.";
-	static const char aborted_wrong_lib[] = "%s: aborted attempt to load %s!\n";
+	static const char *libc = "libc.so.";
+	static const char *aborted_wrong_lib = "%s: aborted attempt to load %s!\n";
 
 	_dl_internal_error_number = 0;
 	libname = full_libname;




More information about the uClibc-cvs mailing list