On Mon, Nov 16, 2009 at 01:14:12PM +0000, Andrew Ross wrote:
> 
> The only remaining occurence of tmpnam is in drivers/tk.c where it is used to 
> create a temporary name for a named pipe. This can't be replaced with 
> pl_create_tempfile since we don't actually want to create a file. The 
> following
> call to mkfifo will fail however if the name already exists and so this should
> be safe.
> 
> This use can be avoided altogether if you use the dp option for the tk driver 
> which uses sockets rather than named pipes for communication.

To follow up on my own post - I've checked the code more closely. Currently
there is no way to set PLD_dp which controls this. Also it seems to use
the tcl-dp package which is no longer supported. Perhaps this is not an option
after all. 

There do appear to alternatives (for example the libtcl-udp package on debian
based on tcludp). This is another example where the tcl / tk support is slowly 
languishing for lack of a champion. If anyone still actively uses it and is
looking for a project, this could be a good candidate.

Andrew

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to