From: <jc...@fe...> - 2003-01-14 18:27:58
|
On Tuesday 14 January 2003 17:55, Alan W. Irwin wrote: | On Tue, 14 Jan 2003, Joachim Wuttke wrote: | > Observation: | > Load file foo.dat from D:\path, plbop(), plot, everything works. | > Load same file from V:\path, plbop(), application crashes: | > "access violation". The only difference: drive V is read-only. | > Explication: | > plbop() calls tmpfile(), which comes with libc. This is a posix | > routine that creates a temporary file. It looks as if the W2k | > implementation attempts to create the temporary file in just the | > last directory the application was in contact with. | > Proposal: | > If I see correctly, in the whole of plplot there is only one | > call to tmpfile(). Therefore we could easily either replace | > tmpfile() by an explicit fopen, or introduce a preprocessor switch | > and replaced tmpfile for Windows only. | | Joachim, I can find no reference to tmpfile in CVS (to be released drivers/plbuf.c at plbuf_bop() pls->plbufFile =3D tmpfile(); the file is created, at plbuf_tidy() fclose(pls->plbufFile); the file is removed. | Saturday as plplot-5.2.0) under src/*.c and certainly not in plbop.=20 | Could you please have a look at the CVS version (a) to make sure this | specific problem is not occurring, and (b) for general testing before | the release? Directions for anonymous CVS access are given at | http://sourceforge.net/cvs/?group_id=3D2915. | | Alan | | __________________________ | Alan W. Irwin | email: ir...@be... | phone: 250-727-2902 | | Astronomical research affiliation with Department of Physics and | Astronomy, University of Victoria (astrowww.phys.uvic.ca). | | Programming affiliations with the Canadian Centre for Climate | Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot | scientific plotting software package (plplot.org). | | __________________________ | | Linux-powered Science | __________________________ | | | | ------------------------------------------------------- | This SF.NET email is sponsored by: FREE SSL Guide from Thawte | are you planning your Web Server Security? Click here to get a FREE | Thawte SSL guide and find the answers to all your SSL security | issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en | _______________________________________________ | Plplot-devel mailing list | Plp...@li... | https://lists.sourceforge.net/lists/listinfo/plplot-devel |