# HG changeset patch # User kono # Date 1133634109 -32400 # Node ID 52d0fa25c554da1e93696ecf72bd695d38069789 # Parent 77780b7285436746f64b8442055d13d0a5d43e1d bug fix diff -r 77780b728543 -r 52d0fa25c554 uip/.gdb_history --- a/uip/.gdb_history Sun Dec 04 02:34:48 2005 +0900 +++ b/uip/.gdb_history Sun Dec 04 03:21:49 2005 +0900 @@ -1,60 +1,3 @@ -b main -run -exit -q -b main -run -exit -q -b main -run -q -b main -b ml_conv -run /tmp/draft.1 -c -c -n -p codeing -p coding -l -p ml_coding_info -up -l -where -n -p s -c -c -run -run -auto -headers -junet /tmp/draft.1 -c -p ml_coding_info -c -where -s -s -n -p opt -n -run -c -n -n -p s -c -b ml_puts -b ml_fputs -c -c -b fputs -run -p argv[1] -c -c -run -c -where up l tb putc @@ -254,3 +197,60 @@ up l q +run ~/Mail.old/ie-faculty/mail.msh +b mhlsbr +run ~/Mail.old/ie-faculty/mail.msh +b main +run ~/Mail.old/ie-faculty/mail.msh +q +q +run ~/Mail.old/ie-faculty/mail.msh +q +b showcmd +b mhlsbr +c +c +c +c +c +c +c + c +q +run +show +inbox +run +nttdata +q +l +where +q +where +up +up +up +up +up +l +q +where +up +up +up +up +up +l +l m_getfld +q +up +up +up +up +up +up +l +q +l process +where +l 979 +c +q diff -r 77780b728543 -r 52d0fa25c554 uip/mhlsbr.c --- a/uip/mhlsbr.c Sun Dec 04 02:34:48 2005 +0900 +++ b/uip/mhlsbr.c Sun Dec 04 03:21:49 2005 +0900 @@ -1034,6 +1034,7 @@ cp++; while(cp) { cp = index (cp, 'c'); + if (!cp) break; if (!strncasecmp(cp,"charset",7)) { cp+=7; break; @@ -1041,6 +1042,7 @@ cp++; } } + if (!cp) continue; while (isspace (*cp)||*cp=='=') cp++; for (dp = cp; istoken (*dp); dp++);