In UI_dup_*() function, use the duped string, not the original.
[openssl.git] / util / clean-depend.pl
index c37d98521c6a48b41f31b78c072f98df0407b2cc..d2b78282c02fb43be182b35f57bd63a4ebd4752a 100755 (executable)
@@ -17,8 +17,7 @@ while(<STDIN>) {
     $thisfile=$file if defined $file;
     next if !defined $deps;
     my @deps=split ' ',$deps;
-    @deps=grep(!/^\/usr\/include/,@deps);
-    @deps=grep(!/^\/usr\/lib\/gcc-lib/,@deps);
+    @deps=grep(!/^\//,@deps);
     @deps=grep(!/^\\$/,@deps);
     push @{$files{$thisfile}},@deps;
 }