This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix checking of ld.so undefined symbols on sparc64


> On Thu, Aug 16, 2007 at 01:23:03PM -0700, Roland McGrath wrote:
> > Might as well just use { print; exit 2 } in the awk.
> 
> Well, that would print just one line, we want to see all undefined
> symbols, don't we?
> But
> awk '($7 ~ /^UND(|EF)$/ && $1 != "0:" && $4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
> could work...

Sure.  I just meant no need for the cmp when using awk.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]