Branch: Tag:

2017-07-12

2017-07-12 18:43:16 by William Welliver <william@welliver.org>

Stdio: include fstype name on systems that provide it as a string (Darwin)

768: Inside #if defined(HAVE_STATFS) and #if defined(HAVE_STRUCT_STATFS)
   num_fields++;   #endif /* HAVE_STATFS_F_BAVAIL */    push_static_text("fstype"); + #ifdef HAVE_STATFS_F_FSTYPENAME +  push_text(st.f_fstypename); + #else    switch(st.f_type) {   #ifdef BTRFS_SUPER_MAGIC    case BTRFS_SUPER_MAGIC: push_static_text("btrfs"); break;
816: Inside #if defined(HAVE_STATFS)
   push_int(st.f_type);    break;    } + #endif /* HAVE_STATFS_F_FSTYPENAME */    num_fields++;   #else /* !HAVE_STRUCT_STATFS */   #ifdef HAVE_STRUCT_FS_DATA