diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-19 11:45:23 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-19 11:45:23 +0000 |
commit | a19f155b48b2766343b410c767696c00ab9315d0 (patch) | |
tree | d33c5153033bf4cc46047b3ab9966ddc655b2cb5 /fm.h | |
parent | * [w3m-dev 04238] [patch] simple preserve space (diff) | |
download | w3m-a19f155b48b2766343b410c767696c00ab9315d0.tar.gz w3m-a19f155b48b2766343b410c767696c00ab9315d0.zip |
* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22
* main.c
(sig_chld): save exit code to d->err.
(addDownloadList): initialize d->running and d->err.
(DownloadListBuffer): check d->err.
* fm.h
(_DownloadList): add running and err.
* file.c
(save2tmp): check returned value of Strfputs().
(doFileSave): exit code is depend on the returned value of save2tmp().
Diffstat (limited to 'fm.h')
-rw-r--r-- | fm.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.139 2010/07/19 09:00:34 htrb Exp $ */ +/* $Id: fm.h,v 1.140 2010/07/19 11:45:24 htrb Exp $ */ /* * w3m: WWW wo Miru utility * @@ -517,7 +517,8 @@ typedef struct _DownloadList { char *lock; clen_t size; time_t time; - int ok; + int running; + int err; struct _DownloadList *next; struct _DownloadList *prev; } DownloadList; |