newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: linli on September 01, 2009, 10:31:22 AM

Title: Network drive I/O error on windows Xp
Post by: linli on September 01, 2009, 10:31:22 AM
Hi, today I just tried to copy and delete files from a windows mapped drive with copy-file and delete-file, but I got I/O error in copy-file and the delete-file just return nil without any effect. Does anyone have the same problem here? Is it a bug?
Title:
Post by: m35 on September 01, 2009, 03:59:14 PM
I'm not able to find any errors with copy-file or delete-file on a mapped network drive. Are you sure your permissions are correct?





I did however find another bug.


newLISP v.10.1.4 on Win32 IPv4, execute 'newlisp -h' for more info.

> (write-file "test" "")
0
> (copy-file "test" "again")

ERR: I/O error in function copy-file
>


Seems newLISP doesn't like copying files of 0 length.
Title:
Post by: linli on September 01, 2009, 09:45:50 PM
Exactly! The file I was trying to copy and delete is of 0 length! Thank you.
Title:
Post by: Lutz on September 02, 2009, 07:02:52 AM
This works in version 10.1.5, released next week.