Stefan Sobernig writes ("Re: [Pkg-tcltk-devel] Bug#913189: /usr/bin/tclsh8.6:
`file delete' can produce EFAULT"):
> Just to be clear: The manpage of [file delete] states that
> > Trying to delete a non-existent file is not considered an error.
>
> see
Hi Ian,
On Thu, Nov 8, 2018 at 1:03 AM Ian Jackson
wrote:
>
> To reproduce:
>
> $ rm -rf d
> $ mkdir d
> $ cd d
> $ rm -rf ../d
> $ env - pwd
> pwd: couldn't find directory entry in '..' with matching i-node
> $ tclsh8.6
> % file delete spong
> error deleting "spong": bad address in system call
Hi!
Just to be clear: The manpage of [file delete] states that
> Trying to delete a non-existent file is not considered an error.
see https://www.tcl.tk/man/tcl8.6/TclCmd/file.htm#M12
or, the Wiki states that
> If pathname is a non-existent file, nothing is done and it is not an
error.
see
3 matches
Mail list logo