From a19f155b48b2766343b410c767696c00ab9315d0 Mon Sep 17 00:00:00 2001 From: Ito Hiroyuki Date: Mon, 19 Jul 2010 11:45:23 +0000 Subject: * [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(). --- fm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 8e0e133..33a67fe 100644 --- a/fm.h +++ b/fm.h @@ -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; -- cgit v1.2.3