OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../bincimap/uninitialized-fix.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- bincimap-1.3.4/src/mime-parsefull.cc.orig 2006-01-04 22:50:25.000000000 +0100
  18. +++ bincimap-1.3.4/src/mime-parsefull.cc 2006-01-04 22:53:31.000000000 +0100
  19. @@ -343,14 +343,14 @@
  20. // Read two more characters. This may be CRLF, it may be "--" and
  21. // it may be any other two characters.
  22. - char a;
  23. + char a = 0;
  24. if (!mimeSource->getChar(&a))
  25. *eof = true;
  26. if (a == '\n')
  27. ++*nlines;
  28. - char b;
  29. + char b = 0;
  30. if (!mimeSource->getChar(&b))
  31. *eof = true;
  32. @@ -560,13 +560,13 @@
  33. delete [] boundaryqueue;
  34. if (toboundary != "") {
  35. - char a;
  36. + char a = 0;
  37. if (!mimeSource->getChar(&a))
  38. *eof = true;
  39. if (a == '\n')
  40. ++*nlines;
  41. - char b;
  42. + char b = 0;
  43. if (!mimeSource->getChar(&b))
  44. *eof = true;