/[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 7 by dpavlin, Thu Nov 18 12:09:10 2004 UTC revision 9 by dpavlin, Fri Jan 7 23:38:41 2005 UTC
# 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;
# Line 101  int _PLfuse_getdir(const char *file, fus Line 98  int _PLfuse_getdir(const char *file, fus
98          if(prv) {          if(prv) {
99                  rv = POPi;                  rv = POPi;
100                  while(--prv)                  while(--prv)
101                          dirfil(dirh,POPp,0,0);                          dirfil(dirh,POPp,0);
102          } else {          } else {
103                  fprintf(stderr,"getdir() handler returned nothing!\n");                  fprintf(stderr,"getdir() handler returned nothing!\n");
104                  rv = -ENOSYS;                  rv = -ENOSYS;

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

  ViewVC Help
Powered by ViewVC 1.1.26