[Python-Dev] CVS build breakage: snprintf finds its way into socketmodule.c (original) (raw)
Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun, 12 Aug 2001 11:30:06 +0200
- Previous message: [Python-Dev] Re: [Python-checkins] testing
- Next message: [Python-Dev] CVS commit permission for Andrew MacIntyre
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In PySocketgetaddrinfo, would it make sense to increase the allocation of pbuf from 10 characters to, say, 30 characters, in case
sprintf(pbuf, "%ld", PyIntAsLong(pobj)); gets run on a 64-bit machine?
It isn't strictly necessary, since the port number should never be that large; it doesn't hurt to increase the size, either, so I did that.
Thanks, Martin
- Previous message: [Python-Dev] Re: [Python-checkins] testing
- Next message: [Python-Dev] CVS commit permission for Andrew MacIntyre
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]