version 1.123, 2005/05/26 02:08:05 |
version 1.124, 2005/06/17 02:44:33 |
|
|
} |
} |
|
|
typedef struct { |
typedef struct { |
int cnt; |
size_t cnt; |
char *buf; |
char *buf; |
} BUF; |
} BUF; |
|
|
|
|
} wrerr; |
} wrerr; |
BUF *bp; |
BUF *bp; |
off_t i; |
off_t i; |
size_t j; |
size_t j, count; |
int amt, count, exists, first, mask, mode, ofd, omode; |
int amt, exists, first, mask, mode, ofd, omode; |
off_t size, statbytes; |
off_t size, statbytes; |
int setimes, targisdir, wrerrno = 0; |
int setimes, targisdir, wrerrno = 0; |
char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; |
char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; |
|
|
} |
} |
if (targisdir) { |
if (targisdir) { |
static char *namebuf; |
static char *namebuf; |
static int cursize; |
static size_t cursize; |
size_t need; |
size_t need; |
|
|
need = strlen(targ) + strlen(cp) + 250; |
need = strlen(targ) + strlen(cp) + 250; |