version 1.33, 2000/06/30 16:00:15 |
version 1.34, 2001/06/23 22:48:44 |
|
|
{ |
{ |
struct addrinfo hints, *res0, *res; |
struct addrinfo hints, *res0, *res; |
int error; |
int error; |
int i, out, isftpurl, isfileurl; |
int i, isftpurl, isfileurl; |
volatile int s; |
volatile int s, out; |
size_t len; |
size_t len; |
char c, *cp, *ep, *portnum, *path, buf[4096]; |
char c, *cp, *ep, *portnum, *path, buf[4096]; |
char pbuf[NI_MAXSERV]; |
char pbuf[NI_MAXSERV]; |
const char *savefile; |
const char * volatile savefile; |
char *line, *proxy, *host, *port; |
char *line, *host, *port; |
|
char * volatile proxy; |
char *hosttail; |
char *hosttail; |
volatile sig_t oldintr; |
volatile sig_t oldintr; |
off_t hashbytes; |
off_t hashbytes; |
|
|
proxy = NULL; |
proxy = NULL; |
isftpurl = 0; |
isftpurl = 0; |
isfileurl = 0; |
isfileurl = 0; |
|
|
#ifdef __GNUC__ /* XXX: to shut up gcc warnings */ |
|
(void)&out; |
|
(void)&proxy; |
|
(void)&savefile; |
|
#endif |
|
|
|
line = strdup(origline); |
line = strdup(origline); |
if (line == NULL) |
if (line == NULL) |