[Patches] oneliner for poplib bug

Caolan McNamara caolan@csn.ul.ie
Mon, 8 May 2000 17:51:28 +0100 (IST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---913833367-1090922277-957804688=:12767
Content-Type: TEXT/PLAIN; charset=US-ASCII

The pop3 spec (rfc 1939) states that lines that begin
with a single "." in the original message are presented
by the server to the client bytestuffed with an
additional ".", poplib does not strip this leading byte.

The attached mini patch takes care of it
. <-- Should only be one dot not two :-)

C.

===yadda yadda===
I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests
("claims").  To the extent that I have any such claims, I hereby grant to
CNRI a nonexclusive, irrevocable, royalty-free, worldwide
license to reproduce, distribute, perform and/or display publicly,
prepare derivative versions, and otherwise use this contribution
as part of the Python software and its related documentation, or
any derivative versions thereof, at no cost to CNRI or its
licensed users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the
Python software and its related documentation.  I further grant
CNRI permission to use my name and other identifying
information provided to CNRI by me for use in connection with the
Python software and its related documentation.


Real Life: Caolan McNamara           *  Doing: MSc in HCI
Work: Caolan.McNamara@ul.ie          *  Phone: +353-86-8790257
URL: http://www.csn.ul.ie/~caolan    *  Sig: an oblique strategy
Ask people to work against their better judgements

---913833367-1090922277-957804688=:12767
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.10005081751280.12767@skynet.csn.ul.ie>
Content-Description: 
Content-Disposition: attachment; filename=patch

LS0tIFB5dGhvbi0xLjUuMi9MaWIvcG9wbGliLnB5CU1vbiBTZXAgMTQgMTk6
MzY6NTEgMTk5OA0KKysrIG5ldy9MaWIvcG9wbGliLnB5CU1vbiBNYXkgIDgg
MTg6NDA6MTggMjAwMA0KQEAgLTEzMyw2ICsxMzMsOSBAQA0KIAkJbGlzdCA9
IFtdOyBvY3RldHMgPSAwDQogCQlsaW5lLCBvID0gc2VsZi5fZ2V0bGluZSgp
DQogCQl3aGlsZSBsaW5lICE9ICcuJzoNCisJCQlpZiBsaW5lWzoxXSA9PSAn
Lic6DQorCQkJCW8gPSBvLTENCisJCQkJbGluZSA9IGxpbmVbMTpdDQogCQkJ
b2N0ZXRzID0gb2N0ZXRzICsgbw0KIAkJCWxpc3QuYXBwZW5kKGxpbmUpDQog
CQkJbGluZSwgbyA9IHNlbGYuX2dldGxpbmUoKQ0K
---913833367-1090922277-957804688=:12767--