[BACK]Return to refuse.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / librefuse

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/librefuse/refuse.c between version 1.60 and 1.61

version 1.60, 2007/05/17 21:28:12 version 1.61, 2007/05/24 00:55:57
Line 156  fill_dirbuf(struct puffs_fuse_dirh *dh, 
Line 156  fill_dirbuf(struct puffs_fuse_dirh *dh, 
         if (dh->bufsize == 0) {          if (dh->bufsize == 0) {
                 if ((dh->dbuf = malloc(DIR_CHUNKSIZE)) == NULL)                  if ((dh->dbuf = malloc(DIR_CHUNKSIZE)) == NULL)
                         err(1, "fill_dirbuf");                          err(1, "fill_dirbuf");
                   (void) memset(dh->dbuf, 0x0, DIR_CHUNKSIZE);
                 dh->d = dh->dbuf;                  dh->d = dh->dbuf;
                 dh->reslen = dh->bufsize = DIR_CHUNKSIZE;                  dh->reslen = dh->bufsize = DIR_CHUNKSIZE;
         }          }
Line 1076  fuse_mount(const char *dir, struct fuse_
Line 1077  fuse_mount(const char *dir, struct fuse_
   
         if ((fc = malloc(sizeof(*fc))) == NULL)          if ((fc = malloc(sizeof(*fc))) == NULL)
                 err(1, "fuse_mount");                  err(1, "fuse_mount");
           (void) memset(fc, 0x0, sizeof(*fc));
         fc->dead = 0;          fc->dead = 0;
   
         if ((fc->dir = strdup(dir)) == NULL)          if ((fc->dir = strdup(dir)) == NULL)
Line 1116  fuse_new(struct fuse_chan *fc, struct fu
Line 1118  fuse_new(struct fuse_chan *fc, struct fu
   
         if ((fuse = malloc(sizeof(*fuse))) == NULL)          if ((fuse = malloc(sizeof(*fuse))) == NULL)
                 err(1, "fuse_new");                  err(1, "fuse_new");
           (void) memset(fuse, 0x0, sizeof(*fuse));
   
         /* copy fuse ops to their own stucture */          /* copy fuse ops to their own stucture */
         (void) memcpy(&fuse->op, ops, sizeof(fuse->op));          (void) memcpy(&fuse->op, ops, sizeof(fuse->op));

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

CVSweb <webmaster@jp.NetBSD.org>