Hello Waldek, That compiles fine on WSL Linux and MSYS2/Windows x86_64 but files.input does not pass checks on Windows because writeable? returns false even if I can 'touch' (and write in) a file in /tmp/. Some investigations lead to (|writeablep| ..) called from nlib.lisp returns -1 whereas it returns 1 on Linux. I guess the root cause is to find in writeablep in cfuns-c.c.
Greg Windows: (5) -> writable?("/tmp/test") 1<enter fnameDirectory : "/tmp/test" 1>exit fnameDirectory : "/tmp" 1<enter writeablep : "/tmp" 1>exit writeablep : -1 (5) false Linux: (1) -> )tr writeablep Function traced: writeablep (1) -> writable?("/tmp/teste") 1<enter writeablep : "/tmp" 1>exit writeablep : 1 (1) true Le sam. 7 déc. 2024 à 19:45, Waldek Hebisch <de...@fricas.org> a écrit : > > Part of file handling is now moved to Spad. In the process I did > a few simplifications, so format of NRLIB-s and KAF files is slightly > different. Affected code is also used for saving history and > by Spad compiler, so there were changes in several places. I > added a test file for file operations and checked that history > still works for me after changes, but there is some potential > for breakage. > > -- > Waldek Hebisch > > -- > You received this message because you are subscribed to the Google Groups > "FriCAS - computer algebra system" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to fricas-devel+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/fricas-devel/Z1SXtT7WTTfMSv74%40fricas.org. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/CAHnU2da-LjAHSau6NbsMSOL6OG61WcFS0tYfXep_PoWmGWHSbQ%40mail.gmail.com.