From 6d1f9b037de66f0587911b367f07d2269cf00d37 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 10 Apr 2003 18:36:40 +0000 Subject: [PATCH] Ignore "U " in nm -u output. --- tools/winebuild/import.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index 1d34d4267a9..9fdc3bd983d 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -661,7 +661,9 @@ void read_undef_symbols( char **argv ) char *p = buffer + strlen(buffer) - 1; if (p < buffer) continue; if (*p == '\n') *p-- = 0; - p = buffer; while (*p == ' ') p++; + p = buffer; + while (*p == ' ') p++; + if (p[0] == 'U' && p[1] == ' ' && p[2]) p += 2; add_undef_symbol( p ); } if ((err = pclose( f ))) fatal_error( "nm -u %s error %d\n", name, err );