[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [gopher] Spidering the gopherspace




On Tue, Dec 30, 2014 at 7:25 PM, Mateusz Viste <mateusz@viste.fr> wrote:
Your server, on the other hand, seems to fail quite ungracefully on such condition, apparently trying to trim something that isn't there (hence ending up one letter short).

*sigh* the good 'ol datys when we code things to exact specifications
and can't cope with \r\n vs \n :)

e.g: (Python)

>>> s = "foo\r\n"
>>> s.strip()
"foo"

:)

I'm no C programmer; but many C programmers are bad programers :)

cheers
James

_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project

Reply to: