install: avoid warning with Solaris 10 cc
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Oct 2010 03:44:12 +0000 (20:44 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Oct 2010 05:41:21 +0000 (22:41 -0700)
commitc586bff1c0d36fc7b57c35fe7e5e8fbd00f83342
tree387d1dfbf40b72199aaadf2ee16b604611ad2149
parent4015f93d3052b6b11ed5dbcdc032be324a084f07
install: avoid warning with Solaris 10 cc

* src/install.c (extra_mode): Don't assign ~S_IRWXUGO & ~S_IFMT
to a mode_t variable, as the number might be too big to fit.
Solaris 10 cc warns about this, and the C standard says it
has undefined behavior.
src/install.c