I have now removed statics from winEPS.c. It still uses localtime() and asctime() on platforms other than Linux (where I replaced them with localtime_r() and asctime_r()), though, and those functions use static buffers. On Thursday 29 December 2005 09:22, matt wrote: > > Cscore uses many global variables and it is large, ugly, old, and > > rarely used so no one bothered cleaning it up so far. The PostScript > > graphs should be easy to fix (there are 1-2 statics there or so, it > > is just rarely used and got no attention). Of the plugins that do not > > work in multiple instances, many depend on third party libraries and > > the libraries themselves may often use global variables. It should > > be possible to fix the Maldonado soundfont opcodes, as those do not > > use any external libraries, although the code is really awful and > > global variables is just one of the issues that need to be cleaned > > up. Finally, some of the utility plugins may use globals; at least > > cvanal and pvanal should be OK, however. > > OK i could probably live with all that ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net