Tcl Source Code

Check-in [50534654de]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [1827008fff]: on Unix [file delete -force d1/d2/d3/..] deleted the contents of d2 but not d2, and reported success. Refuse to remove a path ending in "." or "..", as rm(1) does: on POSIX ".." is resolved physically, so "d1/d2/d3/.." is not necessarily "d1/d2".
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | delete-refuse-dot-dot
Files: files | file ages | folders
SHA3-256: 50534654de4bc873b777b26605ea96c3ef6de57f2cd7fcd623beb2954a1e1681
User & Date: serhiy.storchaka 2026-10-17 09:07:41.957
Context
2026-10-17
09:07
Fix [1827008fff]: on Unix [file delete -force d1/d2/d3/..] deleted the contents of d2 but not d2, an... leaf check-in: 50534654de user: serhiy.storchaka tags: delete-refuse-dot-dot
07:20
Fix [2dff98e079]: format %A garbles negative, padded and infinite values check-in: 9336b96c43 user: serhiy.storchaka tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/fCmd.test.
Changes to unix/tclUnixFCmd.c.