Lines Matching refs:fdel
34 Sfio_t *fsrc, *wtar, *rtar, *fdel;
40 fsrc = wtar = rtar = fdel = NULL;
96 if (((dbuf = (char *) malloc(len)) == NULL) || sfseek(rp->fd, tp->del, 0) != tp->del || sfread(rp->fd, dbuf, len) != len || !(fdel = sfnew(NULL, dbuf, len, -1, SF_STRING|SF_READ)))
102 (void) TOBEGIN(fdel);
103 if (sfread(fdel, magic,4)!=4 || sfgetc(fdel)<0 || (nsrc = sfgetu(fdel))<0 || (ntar = sfgetu(fdel))<0)
108 (void) TOBEGIN(fdel);
121 if(update(fsrc, fdel, wtar, rtar) < 0)
129 sfclose(fdel); sfclose(rtar); sfclose(fsrc);
140 if (fdel) sfclose(fdel);