Changeset 16

Show
Ignore:
Timestamp:
10/30/07 21:42:24 (10 months ago)
Author:
dmajnem2
Message:

Fixed crazy issues

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tarfs/tarfs.c

    r15 r16  
    99#include <ctype.h> 
    1010 
    11 #include <fuse/fuse.h> 
    1211#include <fuse.h> 
     12 
     13#include "zlib.h" 
     14#include "bzlib.h" 
    1315 
    1416#include "tar.h" 
     
    110112        inode *i=file_tree, *node; 
    111113        int res = 0; 
    112          
     114        memset(stbuf, 0, sizeof(struct stat)); 
    113115        stbuf->st_nlink = 1; 
    114116 
     
    133135         
    134136        stbuf->st_mode = S_IFDIR | 0555; 
     137        stbuf->st_size = BLOCK_SIZE; 
    135138        return res; 
    136139