[Asterisk-Dev] Asterisk Code Flow

Wolfgang S. Rupprecht list+asterisk-dev at lists.wsrcc.com
Wed Jul 7 12:22:46 MST 2004


rob at networkip.net (Rob Gagnon) writes:
> Now, that snprintf is a doosie!
> 
> sizeof(fn) and sizeof(curbox) are probably 4

I'm running on an amd64 with 8-byte ptrs, so my first thought was
"great I'm 8-bytes further in the hole than the rest of the world." ;-)
I was very happy to see that the underlying buffer was large enough to
hold whatever was written even in my case.

-wolfgang
-- 
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/
openbsd amd64 http://www.wsrcc.com/wolfgang/ftp/asterisk-openbsd35.patch



More information about the asterisk-dev mailing list