Date: Sat, 10 Jun 2000 15:20:25 -0400 From: Kimmo Suominen <kim@tac.nyc.ny.us> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: tcsh-bugs@mx.gw.com, obrien@FreeBSD.org, current@FreeBSD.org Subject: Re: tcsh history and month bugfix: tc.prompt.c v3.38 Message-ID: <200006101920.PAA17675@hrothgar.gw.com> In-Reply-To: <20000421083612.A35344@nagual.pp.ru> from "Andrey A. Chernov" on Fri, 21 Apr 2000 08:36:12 %2B0400 References: <20000421083612.A35344@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This has been applied.
+ Kim
| From: "Andrey A. Chernov" <ache@nagual.pp.ru>
| Date: Fri, 21 Apr 2000 08:36:12 +0400
|
| --- tc.prompt.c.bak Thu Apr 20 11:47:23 2000
| +++ tc.prompt.c Fri Apr 21 08:31:17 2000
| @@ -222,7 +222,7 @@
| fmthist('R', info, (char *) (cz = cbuff), sizeof(cbuff));
| else
| cz = (unsigned char *) str;
| - if (str != NULL)
| + if (cz != NULL)
| for (; *cz; *p++ = attributes | *cz++)
| if (p >= ep) break;
| break;
| @@ -477,7 +477,7 @@
| case 'w':
| if (p >= ep - 5) break;
| for (cz = (unsigned char *) month_list[t->tm_mon]; *cz;
| - *p++ = attributes | *cz++);
| + *p++ = attributes | *cz++)
| if (p >= ep) break;
| break;
| case 'W':
| --
| Andrey A. Chernov
| <ache@nagual.pp.ru>
| http://nagual.pp.ru/~ache/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006101920.PAA17675>
