[ruby-cvs:52886] kazu:r45740 (trunk): new macros for statfs_t

kazu at ruby-lang.org kazu at ruby-lang.org
Tue Apr 29 04:35:42 JST 2014


kazu	2014-04-29 04:35:42 +0900 (Tue, 29 Apr 2014)

  New Revision: 45740

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45740

  Log:
    new macros for statfs_t
    
    * file.c (HAVE_STRUCT_STATFS_T_F_FSTYPENAME): Add new macro for
      statfs_t.
    * file.c (HAVE_STRUCT_STATFS_T_F_TYPE): ditto.
    
    * file.c (rb_io_statfs): check FSTATFS macro only instead of
      HAVE_FSTATFS and HAVE_FSTATVFS.
    
    * file.c (statfs_type): use new macro.
    * file.c (statfs_fstypename): ditto.
    * file.c (statfs_inspect): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/file.c


More information about the ruby-cvs mailing list