From 8f0afd10791cfb7172d79ed4a33c160b828b6a31 Mon Sep 17 00:00:00 2001 From: Derrik Pates Date: Thu, 1 Mar 2012 10:28:47 -0700 Subject: [PATCH] Updated Changes and fixed a couple indents. --- Changes | 1 + Fuse.xs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 34feac7..c7ac893 100644 --- a/Changes +++ b/Changes @@ -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. diff --git a/Fuse.xs b/Fuse.xs index 3b1e23b..fb012fd 100755 --- a/Fuse.xs +++ b/Fuse.xs @@ -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 */ -- 2.20.1