Return to fetch.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.194, 2020/02/22 01:00:07 | version 1.195, 2020/06/20 09:59:48 | ||
---|---|---|---|
|
|
||
file_get(const char *path, const char *outfile) | file_get(const char *path, const char *outfile) | ||
{ | { | ||
struct stat st; | struct stat st; | ||
int fd, out, rval = -1, save_errno; | int fd, out = -1, rval = -1, save_errno; | ||
volatile sig_t oldintr, oldinti; | volatile sig_t oldintr, oldinti; | ||
const char *savefile; | const char *savefile; | ||
char *buf = NULL, *cp; | char *buf = NULL, *cp; |