mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
fix typo in the ifdef used to detect statbuf->st_blocks. (#505042)
2007-12-25 Paolo Borelli <pborelli@katamail.com> * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef used to detect statbuf->st_blocks. (#505042) svn path=/trunk/; revision=6202
This commit is contained in:
committed by
Paolo Borelli
parent
b7a377a486
commit
255c62b695
@@ -906,10 +906,10 @@ set_info_from_stat (GFileInfo *info,
|
||||
g_file_info_set_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_UID, statbuf->st_uid);
|
||||
g_file_info_set_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_GID, statbuf->st_gid);
|
||||
g_file_info_set_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_RDEV, statbuf->st_rdev);
|
||||
#if defined (HAVE_STRUCT_STAT_BLKSIZE)
|
||||
#if defined (HAVE_STRUCT_STAT_ST_BLKSIZE)
|
||||
g_file_info_set_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE, statbuf->st_blksize);
|
||||
#endif
|
||||
#if defined (HAVE_STRUCT_STAT_BLOCKS)
|
||||
#if defined (HAVE_STRUCT_STAT_ST_BLOCKS)
|
||||
g_file_info_set_attribute_uint64 (info, G_FILE_ATTRIBUTE_UNIX_BLOCKS, statbuf->st_blocks);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user