[Pkg-tcltk-devel] Bug#913189: Bug#913189: /usr/bin/tclsh8.6: `file delete' can produce EFAULT
Ian Jackson
ijackson at chiark.greenend.org.uk
Fri Nov 9 11:06:16 GMT 2018
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 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 https://wiki.tcl-lang.org/page/file+delete
>
> ... so your expectation is that this behaviour also applies to this
> EFAULT instance?
Yes. And in any case, passing NULL to a syscall is certainly wrong
regardless of what you think the behaviour visible to Tcl should be.
> If so (I agree), you might consider opening a ticket at
> https://core.tcl.tk/tcl/login?g=/tcl/tktnew&anon
I've not done that before, but I'll see about that. Do I need to
worry about the fact that I am working with the Debian patched package
of 8.6 rather than a recent upstream.
Thanks,
Ian.
More information about the Pkg-tcltk-devel
mailing list