On Tue, May 11, 2010 at 3:42 PM, Dr. David Kirkby <david.kir...@onetel.net> wrote: > On 05/11/10 07:56 AM, Juan Jose Garcia-Ripoll wrote: >> >> On Tue, May 11, 2010 at 6:17 AM, Dr. David Kirkby >> <david.kir...@onetel.net <mailto:david.kir...@onetel.net>> wrote: >> >> Has the version of ECL been updated recently? >> >> >> I insist that this is not a regression, it is just a misinterpretation >> on our side of how mkstemp() should work (adding characters other than >> letters seems stupid but it is specified as a possibility), so reverting >> wouldn't help >> >> 3) A long term solution is to fix the bug in ECL. >> >> >> I can produce a patch but it will take me some time. >> >> Could you please confirm that you received these emails, because some of >> my answers do not seem to permeate into your responses. >> >> Juanjo > > I got one other email from you - with a link to the bug report on > sourceforge. If there was another, then I did not see it. > > I understand ECL assumes there is something special about the dot in a > filename. You have assume it is an extension, when in fact it need not be, > as POSIX does not prohibit the use of a . in a temp file. > > I think a short term solution is the ecl install script is sage is modified > to remove the /tmp/ECL files once the build has finished. Of course, that > will fail if two people building ECL at the same time, but it *may* be ok if > there is only one person building it, though I'm not sure from your > description.
Two people at the same time wouldn't be a problem because of file permissions, unless one of those people is root. -- William > If the issue is the name of the file, not just that it is > there, then it seems we can't even assume that. But I think deleting > /tmp/ECL* is worthwhile. Doing it via cron has allowed Minh to build ECL, so > hopefully it will work in most cases. I think you are implying we can't > guarantee this, but working > > I've created > > http://trac.sagemath.org/sage_trac/ticket/8951 > > I'll create a patch for that. > > It should be quite easy. > > Dave > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org