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

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

index 8a5f3bd5a4acec79da491a09aa8ad70397f11425..b378fdb1eec4e56d334623a6ba5b75d8c07b4d98 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];