pull up r19961 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 29 Nov 2007 00:53:03 +0000 (00:53 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 29 Nov 2007 00:53:03 +0000 (00:53 +0000)
 r19961@cathode-dark-space:  tlyu | 2007-09-18 22:54:56 -0400
 ticket: 5752
 target_version: 1.6.4
 tags: pullup

 Ignore dependency lines beginning with '#' to deal with gcc
 -fworking-directory output during make depend.

ticket: 5752
version_fixed: 1.6.4

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20169 dc483132-0cff-0310-8789-dd5450dbe970

src/util/depfix.pl

index 473b649bb57453dba0a87a79543bc0f60f3f0e1a..dfe7742517ba26257cf75a4b412f9b15606cb67c 100644 (file)
@@ -214,6 +214,7 @@ my $buf = '';
 while (<STDIN>) {
     # Strip newline.
     chop;
+    next if /^\s*#/;
     # Do directory-specific path substitutions on each filename read.
     $_ = &do_subs($_);
     if (m/\\$/) {