Writing const-correct code in D [OT]

Kevin Bealer Kevin_member at pathlink.com
Wed Mar 8 17:45:33 PST 2006


In article <dunl76$m25$1 at digitaldaemon.com>, pragma says...
>
>In article <dunjv7$kpj$1 at digitaldaemon.com>, Kevin Bealer says...
>>
>>Oops .. this seems to have been cut off.. apparently a single "." causes this
>>reader to destroy email.  I'll post the other 80% of the post again tonight.
>>
>
>For what it's worth, the SMTP and NNTP protocols* both use the sequence
>"\r\n.\r\n" as meaning "end of data".  Depending on the quality of your
>newsreader**, it might not be aware of this and won't filter it out of your
>post.  Having that embedded gives you an unexpectedly truncated message, just
>like you have here.
>
>
>* - For those not in the know, these are for email (outbound) and usenet
>respectively
>** - Was it the newsreader on digitalmars.com?
>
>
>- EricAnderton at yahoo

Yes it was - this "\n.\n" concept seems vaguely and anciently familiar.  I'm
posting again with a different "please dont also lose indentation" character.

Kevin





More information about the Digitalmars-d mailing list