Couldn't GLib directly use GetFileAttributesExW instead, or does this
Sadly the file attributes constants dont have anything like FILE_ATTRIBUTE_SYMLINK etc, so we wouldn't be able to determine if the file is a symbolic link or not. Which I guess would be OK because this is g_stat() not g_lstat(). I guess what we could do (if GetFileAttributesExW works correctly on symbolic links) is fill in the basic stat structure with _wstat() and then just change the size field with whatever GetFileAttributesExW reports).
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to