[Mew-dist 14502] Re: b69

SAITO Tetsuya ( さいとてつや ) tetsuya at example.com
2000年 10月 12日 (木) 10:18:51 JST


さいとです.

From: Kazu Yamamoto (山本和彦) <kazu at example.com>
Subject: [Mew-dist 14497] b69
Date: Wed, 11 Oct 2000 15:18:23 +0900
Message-Id:<20001011.151658.41117772.kazu at example.com>

kazu> 今日はもう店じまいなので、b69 をリリースしておきます。

pick する際に,指定したフィールドがないメイルがあると mewls が落ちます.

-- 
さいとてつや (tetsuya at example.com)
-------------- next part --------------
*** mewls.c.orig	Wed Oct 11 15:05:39 2000
--- mewls.c	Thu Oct 12 10:12:02 2000
***************
*** 127,133 ****
  	" -m  --mbox            The second argument for the external command.",
  	" -f  --fields          Fields to display",
  	" -h  --help            Display this help message.",
! 	" -n  --nostat          Don's use fstat().",
  	" -p  --pick            Pick expression.",
  	" -s  --src             Message source: '+folder range'.",
  	" -w  --wait            Wait_for timer (microsecond).",
--- 127,133 ----
  	" -m  --mbox            The second argument for the external command.",
  	" -f  --fields          Fields to display",
  	" -h  --help            Display this help message.",
! 	" -n  --nostat          Don't use fstat().",
  	" -p  --pick            Pick expression.",
  	" -s  --src             Message source: '+folder range'.",
  	" -w  --wait            Wait_for timer (microsecond).",
***************
*** 352,364 ****
  			break;
  	}
  
! 	tmp = *(end + 1);
! 	*(end + 1) = '\0';
! 	if (strstr(beg, Key_value) != NULL)
! 		matched = TRUE;
! 	else
  		matched = FALSE;
! 	*(end + 1) = tmp;
  	return matched;
  }
  
--- 352,368 ----
  			break;
  	}
  
! 	if (beg == NULL) 
  		matched = FALSE;
! 	else {
! 		tmp = *(end + 1);
! 		*(end + 1) = '\0';
! 		if (strstr(beg, Key_value) != NULL)
! 			matched = TRUE;
! 		else
! 			matched = FALSE;
! 		*(end + 1) = tmp;
! 	} 
  	return matched;
  }


Mew-dist メーリングリストの案内