summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-07-17 06:46:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-07-17 06:46:11 -0700
commitc1f9dce4e6322852dad23adbf95b2b888089e7e6 (patch)
tree1b727e418c59b2e734a970f0fc713c805bce2fa1 /stream.h
parent0fc0b8849ec8f7e72cff64a7468c1c7eba6e983e (diff)
downloadtxr-c1f9dce4e6322852dad23adbf95b2b888089e7e6.tar.gz
txr-c1f9dce4e6322852dad23adbf95b2b888089e7e6.tar.bz2
txr-c1f9dce4e6322852dad23adbf95b2b888089e7e6.zip
remove-path: exception semantics adjusted.
* stream.c (remove_path): The second argument now defaults to false rather than true, and controls only whether an exception is thrown in the non-existence case. Thus, the function throws errors by default, as before, but doesn't throw by default if the failure reason is that the path doesn't exist. Previously it threw by default in all situations, and the flag turned all errors into a nil return. * txr.1: Documented.
Diffstat (limited to 'stream.h')
0 files changed, 0 insertions, 0 deletions