somehow belatedly, I created a ticket to document this weirdness: http://trac.sagemath.org/sage_trac/ticket/13343
On Tuesday, 29 November 2011 01:49:59 UTC+8, Nils Bruin wrote: > > My apologies for the last message. That didn't tell you anything you > didn't already know. A little digging in the source got me to: > > > http://ecls.git.sourceforge.net/git/gitweb.cgi?p=ecls/ecl;a=blob;f=src/c/pathname.d;h=d35bcc58eeeb1f3766b8fc25140253852d94e216;hb=HEAD#l736 > > which tries to define the variable *default-pathname-defaults* . On > linux, it seems to be equal to a path to the current directory, which > is the value one gets from (directory "") . [On one sage install on > linux, I'm just getting #P"" from (pathname ""), which seems to work > there. At least it's not NIL] > > Perhaps this variable is unset on cygwin? (meaning its initialization > goes wrong somewhere). > You can see its value by just typing *default-pathname-defaults* at > the ECL prompt. > > If its value is inappropriate you might try setting it: > > (setf *default-pathname-defaults* #P"/tmp/") > > or something like that. > > [note that the source for cl_pathname is at line 753 of the same file] > > -- -- 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