aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/sciteco.tmac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-11-16 00:52:20 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-11-16 16:34:35 +0100
commitc0fe49457d37e4c51cd4fd829895a60ae24bc8af (patch)
treefe319e605a89d91453581dca9f77b51d1d27b6a1 /doc/sciteco.tmac
parent1f9cf5cb9419d958beb6e6d3cb4fe520e1ef3a1c (diff)
downloadsciteco-c0fe49457d37e4c51cd4fd829895a60ae24bc8af.tar.gz
fixed segfault when munging empty scripts
* empty scripts are SciTECO scripts with an Hash-Bang line but no EOL characters. They are simply ignored now. * A test case cannot be added since 1) it's hard to create the test script with AT_DATA - we'd have to add it to the repo instead. 2) If the bug is not occurring, SciTECO starts into interactive mode which cannot be inhibited unless the script is __not__ empty. * Skipping the Hash-Bang line is optimized now, saving one iteration of the macro just to find out it contains no CR (which is the most common case).
Diffstat (limited to 'doc/sciteco.tmac')
0 files changed, 0 insertions, 0 deletions