aboutsummaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
authorMark Glines <mark@glines.org>2002-04-22 03:19:52 +0000
committerMark Glines <mark@glines.org>2002-04-22 03:19:52 +0000
commitca558a4bed9041468510e4c8a0f40bb75ff68ea6 (patch)
tree692459c4574d8114fb193af165d02bcffea0ee31 /perl
parent255560845c1246e0bd4643e8eeddc02e72ff2ffe (diff)
downloadlibfuse-ca558a4bed9041468510e4c8a0f40bb75ff68ea6.tar.gz
Weird. A scalar at the end of the list was folded into the middle of the
list. I don't know why.
Diffstat (limited to 'perl')
-rw-r--r--perl/Fuse.xs7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl/Fuse.xs b/perl/Fuse.xs
index 7260e30..69d49f0 100644
--- a/perl/Fuse.xs
+++ b/perl/Fuse.xs
@@ -32,18 +32,21 @@ 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;
result->st_uid = POPi;
result->st_nlink = POPi;
result->st_mode = POPi;
- /* result->st_ino = */ POPi;
+ /*result->st_ino =*/ POPi;
result->st_dev = POPi;
rv = 0;
}