[ruby-cvs:69131] shyouhei:r61950 (trunk): there is no guarantee that mode_t is as wide as int
shyouhei at ruby-lang.org
shyouhei at ruby-lang.org
Fri Jan 19 18:12:06 JST 2018
shyouhei 2018-01-19 18:12:06 +0900 (Fri, 19 Jan 2018)
New Revision: 61950
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61950
Log:
there is no guarantee that mode_t is as wide as int
POSIX only defines mode_t to be "an integer typea", and in fact
MacOS defines it to be uint16_t. We didn't have NUM2USHORT before
so it did not make sense but now that we have it. Why not check
apptopriately.
Modified files:
trunk/configure.ac
trunk/file.c
trunk/include/ruby/ruby.h
trunk/process.c
More information about the ruby-cvs
mailing list