• Tor Lillqvist's avatar
    Use simpler mode for open() on Windows. (No S_I?GRP and S_I?OTH bits are · ff89f905
    Tor Lillqvist authored
    2008-05-27  Tor Lillqvist  <tml@novell.com>
    
    	* gtk/updateiconcache.c (build_cache): Use simpler mode for open()
    	on Windows. (No S_I?GRP and S_I?OTH bits are defined in
    	<sys/stat.h> on Windows, and the mode used in open() doesn't
    	matter much as there are no rwxrwxrwx bits on Windows anyway.)
    	Open file in binary mode. Passing "b" to fdopen() later isn't
    	enough.
    
    
    svn path=/trunk/; revision=20190
    ff89f905
updateiconcache.c 36.8 KB