From: Dobrica Pavlinusic Date: Fri, 26 Nov 2004 20:38:56 +0000 (+0000) Subject: It seems that blockcount isn't last argument any longer. Fixed. X-Git-Tag: 0.05~4 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=83f0f13acfe60759bedec45da4fc66b0293f90f6;hp=c747773cfb30944dcd649bc8b1f28e6683688f60;p=perl-fuse.git It seems that blockcount isn't last argument any longer. Fixed. git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@8 6e4b0b00-1209-0410-87b2-b275959b5705 --- diff --git a/Fuse.xs b/Fuse.xs index 3f38767..f1ef303 100644 --- a/Fuse.xs +++ b/Fuse.xs @@ -32,14 +32,11 @@ int _PLfuse_getattr(const char *file, struct stat *result) { else rv = -ENOENT; } else { + result->st_blocks = POPi; result->st_blksize = POPi; result->st_ctime = POPi; result->st_mtime = POPi; result->st_atime = POPi; - /* What the HELL? Perl says the blockcount is the last argument. - * Everything else says the blockcount is the last argument. So why - * was it folded into the middle of the list? */ - result->st_blocks = POPi; result->st_size = POPi; result->st_rdev = POPi; result->st_gid = POPi;