/[fuse.before_github]/perl/trunk/Fuse.xs
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /perl/trunk/Fuse.xs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by mszeredi, Thu Nov 11 14:44:15 2004 UTC revision 9 by dpavlin, Fri Jan 7 23:38:41 2005 UTC
# Line 2  Line 2 
2  #include "perl.h"  #include "perl.h"
3  #include "XSUB.h"  #include "XSUB.h"
4    
5  #include <fuse.h>  #include <fuse/fuse.h>
6    
7  #undef DEBUGf  #undef DEBUGf
8  #if 0  #if 0
# Line 32  int _PLfuse_getattr(const char *file, st Line 32  int _PLfuse_getattr(const char *file, st
32                  else                  else
33                          rv = -ENOENT;                          rv = -ENOENT;
34          } else {          } else {
35                    result->st_blocks = POPi;
36                  result->st_blksize = POPi;                  result->st_blksize = POPi;
37                  result->st_ctime = POPi;                  result->st_ctime = POPi;
38                  result->st_mtime = POPi;                  result->st_mtime = POPi;
39                  result->st_atime = 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;  
40                  result->st_size = POPi;                  result->st_size = POPi;
41                  result->st_rdev = POPi;                  result->st_rdev = POPi;
42                  result->st_gid = POPi;                  result->st_gid = POPi;

Legend:
Removed from v.4  
changed lines
  Added in v.9

  ViewVC Help
Powered by ViewVC 1.1.26