On Tue, 7 Aug 2001, Patrick Dughi wrote: >> >ObCircle: >> > >> >With the rip buf patch that George posted a while ago, there was a >> >shift from using sprintf to snprintf. However, this is not something >> >that is supported by the windows systems. Have you considered making a >> >circle version of the snprintf, similar to the way you made a circle >> >specific strn_cpy? >> >> Daniel wants to put the BSD snprintf() in a snprintf.c file to link in if >> we don't need it. I was thinking of adding one that behaved just like >> sprintf() if you didn't have snprintf(). Sure you won't have the >> buffer-checking behavior of the real thing, but the buffers should be >> sufficiently large enough anyway. My other alternative was using libiberty >> from the GNU project for snprintf(). >> > > Er..cept for the whole Diku+Circle=Incompatible with GPL issue? I don't yet know if it's LGPL or GPL. If it's GPL I won't use it, obviously. It's not exactly a very independent package so I suspect it's just GPL. -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST