commit | cf868c8eeb45f47063cc5d30b04b552e7dd5a7c4 | [log] [tgz] |
---|---|---|
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | Thu Jan 07 12:34:40 2016 +0100 |
committer | sin <sin@2f30.org> | Mon Jan 11 15:37:58 2016 +0000 |
tree | 1ce2c3700dee0cf078c42c73a1e76d5d236a0924 | |
parent | 0b117ab6c0d9771c0556180bc47c1988576ae740 [diff] |
Stop matching when lastmatch points to '\n' This situation happens with something like s/$/test/, where rm_so == rm_eo == 0. Without this check, ed keeps looping forever.