summaryrefslogtreecommitdiffstats
path: root/chksums/sha256.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-01-30 21:01:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-01-30 21:01:54 -0800
commitd514eb635cd52fcb57aefaa8a4b74ce9a43a26d8 (patch)
treeb56ae8cba90b68d1a90fbbec08361ddb1b0f9ad7 /chksums/sha256.h
parentdd97f51e8861211ad89727dea8f7be2dbdf7c050 (diff)
downloadtxr-d514eb635cd52fcb57aefaa8a4b74ce9a43a26d8.tar.gz
txr-d514eb635cd52fcb57aefaa8a4b74ce9a43a26d8.tar.bz2
txr-d514eb635cd52fcb57aefaa8a4b74ce9a43a26d8.zip
copy-file: detect directory before opening.
* share/txr/stdlib/copy-file.tl (copy-file): Detect that from-path is a directory before attempting to open it. The issue is that the open will succeed for a directory, and only the subsequent read will fail. By that time we have opened created the target file.
Diffstat (limited to 'chksums/sha256.h')
0 files changed, 0 insertions, 0 deletions