[w3m-dev 03568] Re: preserve timestamp
* etc.c (USE_COOKIE): moved * file.c (utime.h): include (setModtime): added (loadGeneralFile): set f.modtime (_doFileCopy): setModtime() (doFileSave): setModtime() * ftp.c (getFtpModtime): added (openFTP): pass URLFile, set modtime * html.h (URLFile): add modtime * proto.h (openFTP): arg URLFile *uf (mymktime): always * url.c (init_stream): initialize modtime (openFTPStream): pass URLFile (openURL): openFTPStream From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
This commit is contained in:
6
proto.h
6
proto.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: proto.h,v 1.71 2002/12/13 02:19:01 ukai Exp $ */
|
||||
/* $Id: proto.h,v 1.72 2002/12/14 15:18:38 ukai Exp $ */
|
||||
/*
|
||||
* This file was automatically generated by version 1.7 of cextract.
|
||||
* Manual editing not recommended.
|
||||
@@ -504,7 +504,7 @@ extern Str unquote_mailcap(char *qstr, char *type, char *name, char *attr,
|
||||
extern char *guessContentType(char *filename);
|
||||
extern TextList *make_domain_list(char *domain_list);
|
||||
extern int check_no_proxy(char *domain);
|
||||
extern FILE *openFTP(ParsedURL *pu);
|
||||
extern FILE *openFTP(ParsedURL *pu, URLFile *uf);
|
||||
extern Str readFTPDir(ParsedURL *pu);
|
||||
extern void closeFTP(FILE * f);
|
||||
extern int Ftpfclose(FILE * f);
|
||||
@@ -588,8 +588,8 @@ extern Str myEditor(char *cmd, char *file, int line);
|
||||
extern char *file_to_url(char *file);
|
||||
extern char *expandName(char *name);
|
||||
extern Str tmpfname(int type, char *ext);
|
||||
#ifdef USE_COOKIE
|
||||
extern time_t mymktime(char *timestr);
|
||||
#ifdef USE_COOKIE
|
||||
extern char *FQDN(char *host);
|
||||
extern Str find_cookie(ParsedURL *pu);
|
||||
extern int add_cookie(ParsedURL *pu, Str name, Str value, time_t expires,
|
||||
|
||||
Reference in New Issue
Block a user