diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-15 15:19:43 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-15 15:19:43 +0000 |
commit | 62fc785e241f456e60290571b0c5e5777d111d66 (patch) | |
tree | 14912952e1902a503ce1974ed464c37303e72b20 /url.c | |
parent | [w3m-dev 03430] disable display of alarm command (diff) | |
download | w3m-62fc785e241f456e60290571b0c5e5777d111d66.tar.gz w3m-62fc785e241f456e60290571b0c5e5777d111d66.zip |
[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 <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'url.c')
-rw-r--r-- | url.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 <sys/types.h> #include <sys/socket.h> @@ -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); |