From 62fc785e241f456e60290571b0c5e5777d111d66 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 15 Nov 2002 15:19:43 +0000 Subject: [w3m-dev 03431] save file by background process * file.c (loadGeneralFile): use _doFileCopy() (_doFileCopy): renamed from doFileCopy() lock fork & save (doFileSave): lock fork & save * fm.h (DownloadList): added (FirstDL): added (LastDL): added * form.c (struct internal_action): add download * funcname.tab (DOWNLOAD_LIST): added * html.h (URLFile): add url * main.c (dump_extra): add add_download_list (main): add_download_list, ldDL() (_quitfm): added (quitfm): rewrite with _quitfm() (qquitfm): ditto (w3m_exit): stopDownload() (addDownloadList): added (checkDownloadList): added (convert_size3): added (DownloadListBuffer): added (download_action): added (stopDownload): added (ldDL): added * proto.h (ldDL): added (convert_size): added (convert_size2): added (doFileCopy): deleted (_doFileCopy): added (addDownloadList): added (stopDownload): added (checkDownloadList): added (download_action): added * url.c (openURL): save url in uf From: Hironori SAKAMOTO --- url.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'url.c') diff --git a/url.c b/url.c index b07a330..dedcbc6 100644 --- a/url.c +++ b/url.c @@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.56 2002/11/14 16:56:24 ukai Exp $ */ +/* $Id: url.c,v 1.57 2002/11/15 15:19:46 ukai Exp $ */ #include "fm.h" #include #include @@ -1476,6 +1476,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current, } uf.scheme = pu->scheme; + uf.url = parsedURL2Str(pu)->ptr; pu->is_nocache = (option->flag & RG_NOCACHE); uf.ext = filename_extension(pu->file, 1); -- cgit v1.2.3