From: Thien-Thi Nguyen Date: Fri, 7 May 2004 15:54:04 +0000 (+0000) Subject: Properly spell the name of Emacs. X-Git-Tag: ttn-vms-21-2-B2~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fcf73964b95a305787a89ea857f9ddef9852e3e2;p=emacs.git Properly spell the name of Emacs. (main): Parenthesize assignment when used as truth value to prevent gcc warnings. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f6b65f38df6..bd0ff556081 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,9 @@ +2004-05-07 Thien-Thi Nguyen + + * b2m.c: Properly spell the name of Emacs. + (main): Parenthesize assignment when used + as truth value to prevent gcc warnings. + 2004-05-04 Thien-Thi Nguyen * profile.c: Include config.h, not ../src/config.h. diff --git a/lib-src/b2m.c b/lib-src/b2m.c index 044ebedb211..05caa1424e0 100644 --- a/lib-src/b2m.c +++ b/lib-src/b2m.c @@ -1,12 +1,13 @@ /* * b2m - a filter for Babyl -> Unix mail files + * The copyright on this file has been disclaimed. * * usage: b2m < babyl > mailbox * * I find this useful whenever I have to use a * system which - shock horror! - doesn't run - * Gnu emacs. At least now I can read all my - * Gnumacs Babyl format mail files! + * GNU Emacs. At least now I can read all my + * GNU Emacs Babyl format mail files! * * it's not much but it's free! * @@ -167,7 +168,7 @@ main (argc, argv) p = strtok (data.buffer, " ,\r\n\t"); labels = "X-Babyl-Labels: "; - while (p = strtok (NULL, " ,\r\n\t")) + while ((p = strtok (NULL, " ,\r\n\t"))) labels = concat (labels, p, ", "); p = &labels[strlen (labels) - 2];