On Sun, 2005-01-16 at 10:10 +0200, Michael S. Tsirkin wrote: 
> Hello!
> Tom, your mailer wraps lines.
> Pls fix it or as a last resort use attachments.

Actually, it is your MUA that is not reassembling the lines according to
the quoted-printable rules.  From RFC 1521, section 5.1:

      Rule #5 (Soft Line Breaks): The Quoted-Printable encoding REQUIRES
      that encoded lines be no more than 76 characters long. If longer
      lines are to be encoded with the Quoted-Printable encoding, 'soft'
      line breaks must be used. An equal sign as the last character on a
      encoded line indicates such a non-significant ('soft') line break
      in the encoded text. Thus if the "raw" form of the line is a
      single unencoded line that says:

          Now's the time for all folk to come to the aid of
          their country.

      This can be represented, in the Quoted-Printable encoding, as

          Now's the time =
          for all folk to come=
           to the aid of their country.

      This provides a mechanism with which long lines are encoded in
      such a way as to be restored by the user agent.  The 76 character
      limit does not count the trailing CRLF, but counts all other
      characters, including any equal signs.

Anyways, here it is as an attachment.

-tduffy
Index: flint.cpp
===================================================================
--- flint.cpp	(revision 1526)
+++ flint.cpp	(working copy)
@@ -3490,7 +3490,7 @@
                 device = av[i];
                 if (!f.open(device))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Device open failed: %s\n", f._err);
                     return 1;
                 }
             }
@@ -3639,7 +3639,7 @@
                 FImage         fim;
                 if (!fim.open(image_fname))
                 {
-                    printf("*** ERROR *** %s\n", fim._err);
+                    fprintf(stderr, "Image open failed: %s\n", fim._err);
                     return 1;
                 }
                 bool old_silent = _silent;
@@ -3706,9 +3706,9 @@
                     if (!f.FailSafe_burn(fim.getBuf(), fim.getBufLength(),
                                               !silent))
                     {
-                        printf("*** ERROR *** %s\n", f._err);
-                        printf("It is impossible to burn this image in a failsafe mode.\n");
-                        printf("If you want to burn in non failsafe mode, use the \"-nofs\" switch.\n");
+                        fprintf(stderr, "FailSafe burn failed: %s\n", f._err);
+                        fprintf(stderr, "It is impossible to burn this image in a failsafe mode.\n");
+                        fprintf(stderr, "If you want to burn in non failsafe mode, use the \"-nofs\" switch.\n");
                         return 1;
                     }
                 }
@@ -3740,7 +3740,7 @@
                                        !silent))
                     {
                         report("\n");
-                        printf("*** ERROR *** %s\n", f._err);
+                        fprintf(stderr, "Non FailSafe burn failed: %s\n", f._err);
                         return 1;
                     }
                     report("\n");
@@ -3774,7 +3774,7 @@
                 // Erase
                 if (!f.erase_sector(addr))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Erase sector failed: %s\n", f._err);
                     return 1;
                 }
             }
@@ -3788,7 +3788,7 @@
                     FImage         fim;
                     if (!fim.open(image_fname))
                     {
-                        printf("*** ERROR *** %s\n", fim._err);
+                        fprintf(stderr, "Image open failed: %s\n", fim._err);
                         return 1;
                     }
                     RevisionInfo(fim, guids, 0, &fs_image);
@@ -3862,7 +3862,7 @@
                 // Read flash
                 if (!f.read(addr, data, length))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Flash read failed: %s\n", f._err);
                     return 1;
                 }
 
@@ -3918,7 +3918,7 @@
                 // Read
                 if (!f.read(addr, &data))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Address read failed: %s\n", f._err);
                     return 1;
                 }
                 printf("0x%08x\n", (unsigned int)__cpu_to_be32(data));
@@ -3933,7 +3933,7 @@
                     FImage         fim;
                     if (!fim.open(image_fname))
                     {
-                        printf("*** ERROR *** %s\n", fim._err);
+                        fprintf(stderr, "Verify open image failed: %s\n", fim._err);
                         return 1;
                     }
                     Verify(fim);
@@ -3997,7 +3997,7 @@
                 // Write flash
                 if (!f.write_image(addr, data, length, !silent))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Write flash failed: %s\n", f._err);
                     return 1;
                 }
 
@@ -4037,7 +4037,7 @@
                 f.curr_sector = 0xffffffff;  // First time erase sector
                 if (!f.write(addr, data))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Erase sector failed: %s\n", f._err);
                     return 1;
                 }
             }
@@ -4073,7 +4073,7 @@
 
                 if (!f.write(addr, &data, 4, true, true))
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Write failed: %s\n", f._err);
                     return 1;
                 }
             }
@@ -4091,7 +4091,7 @@
   
                 if (!f.query_cfi())
                 {
-                    printf("*** ERROR *** %s\n", f._err);
+                    fprintf(stderr, "Query cfi failed: %s\n", f._err);
                     return 1;
                 }
             }

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to