Permalink
Browse files

Updated Changes and fixed a couple indents.

  • Loading branch information...
1 parent 788f7ce commit 8f0afd10791cfb7172d79ed4a33c160b828b6a31 @demonfoo demonfoo committed Mar 1, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −0 Changes
  2. +3 −3 Fuse.xs
View
@@ -101,3 +101,4 @@ Revision history for Perl extension Fuse.
or later. Also wrote tests based off fsel.c and fselclient.c
from FUSE.
- Fixed a thinko in the platform handling chain in Makefile.PL.
+ - Added handling for sub-second [amc]time stamps.
View
@@ -166,7 +166,7 @@ int _PLfuse_getattr(const char *file, struct stat *result) {
else
rv = -ENOENT;
} else {
- double tm;
+ double tm;
result->st_blocks = POPi;
result->st_blksize = POPi;
/* Do a little gymnastics to transform the fractional part into nsec */
@@ -1003,7 +1003,7 @@ int _PLfuse_readdir(const char *file, void *dirh, fuse_fill_dir_t dirfil,
if (SvROK(*svp) &&
SvTYPE(av2 = (AV *)SvRV(*svp)) == SVt_PVAV &&
av_len(av2) == 12) {
- double tm;
+ double tm;
st.st_dev = SvIV(*(av_fetch(av2, 0, FALSE)));
st.st_ino = SvIV(*(av_fetch(av2, 1, FALSE)));
st.st_mode = SvIV(*(av_fetch(av2, 2, FALSE)));
@@ -1284,7 +1284,7 @@ int _PLfuse_fgetattr(const char *file, struct stat *result,
else
rv = -ENOENT;
} else {
- double tm;
+ double tm;
result->st_blocks = POPi;
result->st_blksize = POPi;
/* Do a little gymnastics to transform the fractional part into nsec */

0 comments on commit 8f0afd1

Please sign in to comment.