Re: [Plplot-devel] Fix for 79-character truncation on plgfnam

2010-12-18 Thread David MacMahon
On Dec 18, 2010, at 6:30 PM, Alan W. Irwin wrote: > On 2010-12-18 11:34-0800 David MacMahon wrote: > >> Am I missing something? > > See their example 1d where they check for truncation. Instead of > taking an error return at that point as they did in their sample code > the user could instead

Re: [Plplot-devel] Fix for 79-character truncation on plgfnam

2010-12-18 Thread Alan W. Irwin
On 2010-12-18 11:34-0800 David MacMahon wrote: > Hi, Alan, > > On Dec 18, 2010, at 10:57 AM, Alan W. Irwin wrote: > >> Another model for plgnver, plgndev, and plgnfnam is one similar to >> strlcpy that is discussed by Todd C. Miller and Theo de Raadt at >> http://www.gratisoft.us/todd/papers/strlc

[Plplot-devel] Windows testing environment

2010-12-18 Thread Alan W. Irwin
On 2010-12-18 20:15+0100 Werner Smekal wrote: >> I made an attempt to run comprehensive_test.sh on my Windows system, >> via win-bash, but it requires basic external programs like dirname and >> basename that are not present on the average Windows machine. Using >> msys instead might be an option,

[Plplot-devel] Lua tests on Windows look good

2010-12-18 Thread Alan W. Irwin
Here are the Lua diff results I am getting on the MinGW/MSYS/wine 32-bit platform (on my 64-bit hardware): lua Missing examples: 33 Differing postscript output : 04 18 19 26 Missing stdout : Differing stdout: These results were obtained from comp

Re: [Plplot-devel] Fix for 79-character truncation on plgfnam

2010-12-18 Thread David MacMahon
Hi, Alan, On Dec 18, 2010, at 10:57 AM, Alan W. Irwin wrote: > Another model for plgnver, plgndev, and plgnfnam is one similar to > strlcpy that is discussed by Todd C. Miller and Theo de Raadt at > http://www.gratisoft.us/todd/papers/strlcpy.html. That is a most > interesting paper to read. I

Re: [Plplot-devel] Tcl issues solved on Windows!

2010-12-18 Thread Alan W. Irwin
I should have also said that PLplot users on the Windows platform can find directions for installing a Windows version of Tcl at http://www.miscdebris.net/plplot_wiki/index.php?title=Install_Tcl which is linked from http://www.miscdebris.net/plplot_wiki/index.php?title=Specifics_for_various_platfor

Re: [Plplot-devel] Fix for 79-character truncation on plgfnam

2010-12-18 Thread Alan W. Irwin
Hi Andrew (with one question for Dave): Thanks for contributing to this discussion. On 2010-12-18 13:59- Andrew Ross wrote: > I think passing a buffer size is the safest way to go. If you wanted a > constant buffer length, then it should be PATH_MAX to ensure any path > will fit, but this st

Re: [Plplot-devel] Fix for 79-character truncation on plgfnam

2010-12-18 Thread Andrew Ross
On Fri, Dec 17, 2010 at 10:53:44AM -0800, Alan Irwin wrote: > On 2010-12-16 21:15-0800 David MacMahon wrote: > > > Hi, Alan, > > > > On Dec 16, 2010, at 6:54 PM, Alan W. Irwin wrote: > > > >> Here is what I propose instead of this temporary measure. We go with > >> a backward-incompatible API cha

[Plplot-devel] Python test results show it is basically working on 32-bit Windows

2010-12-18 Thread Alan W. Irwin
Here are the Python results I am getting on the MinGW/MSYS/wine 32-bit platform (on my 64-bit hardware): python Missing examples: Differing postscript output : 03 04 05 06 08 09 11 12 14a 15 16 17 18 19 20 21 22 23 25 26 29 33 Missing stdout : Differing stdou