Skip to content
  • Chun-wei Fan's avatar
    Bug 660730: Use GStatBuf for portability · eb8c2dfa
    Chun-wei Fan authored
    Thanks to Kean Johnston for pointing this out.
    
    There are a few places in GTK that use "struct stat",
    and then g_stat(), rather than using GStatBuf.This breaks things on
    Windows. Since the size of struct stat can vary depending on other
    flags specified, this has the potential to cause overwrites and is
    trivial to fix.
    
    Based on patch submitted by Kean Johnston
    eb8c2dfa