changeset 101915:091a8cf73243

(mbx_delimit_begin, mbx_delimit_end): Write mbox rather than Babyl format. (Bug#2196)
author Glenn Morris <rgm@gnu.org>
date Tue, 10 Feb 2009 03:30:39 +0000
parents fc3f7f3a49fc
children 85a6bf6279eb
files lib-src/ChangeLog lib-src/movemail.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Tue Feb 10 03:29:00 2009 +0000
+++ b/lib-src/ChangeLog	Tue Feb 10 03:30:39 2009 +0000
@@ -1,3 +1,8 @@
+2009-02-10  Glenn Morris  <rgm@gnu.org>
+
+	* movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
+	than Babyl format.  (Bug#2196)
+
 2009-01-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
 	* emacsclient.c (decode_options): Use a dummy display name under
--- a/lib-src/movemail.c	Tue Feb 10 03:29:00 2009 +0000
+++ b/lib-src/movemail.c	Tue Feb 10 03:30:39 2009 +0000
@@ -923,7 +923,7 @@
 mbx_delimit_begin (mbf)
      FILE *mbf;
 {
-  if (fputs ("\f\n0, unseen,,\n", mbf) == EOF)
+  if (fputs ("From movemail\n", mbf) == EOF)
     return (NOTOK);
   return (OK);
 }
@@ -932,7 +932,7 @@
 mbx_delimit_end (mbf)
      FILE *mbf;
 {
-  if (putc ('\037', mbf) == EOF)
+  if (putc ('\n', mbf) == EOF)
     return (NOTOK);
   return (OK);
 }