[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc-cvs
Subject:    [uClibc-cvs] CVS uClibc/utils
From:       jocke () codepoet ! org (CVS User jocke)
Date:       2004-09-28 2:55:09
Message-ID: 20040928085507.7F27EB4012 () codepoet ! org
[Download RAW message or body]

Update of /var/cvs/uClibc/utils
In directory nail:/tmp/cvs-serv31830/utils

Modified Files:
	ldd.c 
Log Message:
Oops, typo.
Thanks to Peter Kjellerstedt.


--- /var/cvs/uClibc/utils/ldd.c	2004/09/28 07:56:48	1.15
+++ /var/cvs/uClibc/utils/ldd.c	2004/09/28 08:55:06	1.16
@@ -546,7 +546,7 @@
 		fprintf(stderr, "%s: not a dynamic executable\n", filename);
 		return -1;
 	}
-	if (ehdr->e_type == ET_EXEC || ehdr->e_type != ET_DYN) {
+	if (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN) {
 		if (statbuf.st_mode & S_ISUID)
 			is_suid = 1;
 		if ((statbuf.st_mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP))

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic