Subversion Repositories Kolibri OS

Rev

Rev 5197 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5197 Rev 5199
Line 671... Line 671...
671
	  /* Do not attempt to change non-regular files.  This is
671
	  /* Do not attempt to change non-regular files.  This is
672
	     here especially for configure scripts and kernel builds
672
	     here especially for configure scripts and kernel builds
673
	     which run tests with "ld [...] -o /dev/null".  */
673
	     which run tests with "ld [...] -o /dev/null".  */
674
	  && S_ISREG(buf.st_mode))
674
	  && S_ISREG(buf.st_mode))
675
	{
675
	{
-
 
676
/*
676
	  unsigned int mask = umask (0);
677
        unsigned int mask = umask (0);
Line 677... Line 678...
677
 
678
 
678
	  umask (mask);
679
        umask (mask);
679
	  chmod (abfd->filename,
680
        chmod (abfd->filename,
680
		 (0777
681
		 (0777
-
 
682
		  & (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask))));
681
		  & (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask))));
683
*/
682
	}
684
	}
683
    }
685
    }
Line 684... Line 686...
684
}
686
}