summaryrefslogtreecommitdiffstats
path: root/tests/006/passwd
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-08 07:55:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-08 07:55:34 -0700
commit2b00fdfe4bc329fbf4d1dd32835a2476c7c1e2f6 (patch)
tree10b0ac85281ff220829d0e46a145d2f0a7982423 /tests/006/passwd
parent347c06761a1a01fb1c8bda56bf636d05ffb34b3a (diff)
downloadtxr-2b00fdfe4bc329fbf4d1dd32835a2476c7c1e2f6.tar.gz
txr-2b00fdfe4bc329fbf4d1dd32835a2476c7c1e2f6.tar.bz2
txr-2b00fdfe4bc329fbf4d1dd32835a2476c7c1e2f6.zip
Fix 2011-12-03 regression. The freeform directive code
relies on lazy_str_get_trailing_list and the behavior of that function changed because (split-str "" any-separator) changed from returning nil to returning the empty string. The resulting behavior change of lazy_str_get_trailing_list was later described in the documentation, thereby codifying it. This patch changes the lazy_str_get_trailing_list behavior, which is poor, and causes infinite looping. We do not want an extra empty string prepended, because it looks like a spurious line. * lib.c (lazy_str_get_trailing_list): if split_str produces a the list (""), then just return the unmaterialized list from the lazy string without prepending that one-element list to it. * txr.1: Updated documentation for lazy-str-get-trailing-list.
Diffstat (limited to 'tests/006/passwd')
0 files changed, 0 insertions, 0 deletions