]> git.eshelyaron.com Git - emacs.git/commitdiff
Properly spell the name of Emacs.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Fri, 7 May 2004 15:54:04 +0000 (15:54 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Fri, 7 May 2004 15:54:04 +0000 (15:54 +0000)
(main): Parenthesize assignment when used
as truth value to prevent gcc warnings.

lib-src/ChangeLog
lib-src/b2m.c

index f6b65f38df690496e48ded9b4227cd55de57eff0..bd0ff556081d2fe1b556b685650c6c8024cf09b1 100644 (file)
@@ -1,3 +1,9 @@
+2004-05-07  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * 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  <ttn@gnu.org>
 
        * profile.c: Include config.h, not ../src/config.h.
index 044ebedb21149cda2ecd120dd111a2944060423f..05caa1424e0046eb362f1f121d9b0b85c7c4ef10 100644 (file)
@@ -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];