Loading...
xcodescripts/patch_headers_variants.pl Libc-1725.40.4 Libc-825.26
--- Libc/Libc-1725.40.4/xcodescripts/patch_headers_variants.pl
+++ Libc/Libc-825.26/xcodescripts/patch_headers_variants.pl
@@ -55,11 +55,6 @@
 		}
 	}
 
-	my($fname, $dirs, $suffix) = File::Basename::fileparse($file, ".h");
-	if ($suffix ne ".h") {
-		return;
-	}
-
     my $p = IO::File->new($path, 'r');
     die "$MyName: Can't open $path: $!\n" unless defined($p);
     my $f = IO::File->new($file, 'w');
@@ -71,9 +66,6 @@
 			my $sym;
 			if($n > 0) {
 				my($sym) = ($save[$n - 1] =~ /__DARWIN_(?:10\d+|ALIAS|EXTSN|INODE64)[^(]*\(([^)]*)\)/);
-				if($save[$n - 1] =~ /__DARWIN_ALIAS_STARTING/) {
-					undef $sym;
-				}
 				if(defined($sym)) {
 					if(defined($path)) {
 						print "  $path\n";