diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-09-28 01:58:55 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-09-28 02:00:29 +0200 |
commit | 98c8dc5b7d43892cfb0d5d4c1ec5eca0ed7ffd49 (patch) | |
tree | 082b86045fa32e7c866183fe6e29c24138c3842c /sdn.png | |
parent | b99f96cf6af73eef6bb887cd28bdb6508f2dd702 (diff) | |
download | sdn-98c8dc5b7d43892cfb0d5d4c1ec5eca0ed7ffd49.tar.gz sdn-98c8dc5b7d43892cfb0d5d4c1ec5eca0ed7ffd49.tar.xz sdn-98c8dc5b7d43892cfb0d5d4c1ec5eca0ed7ffd49.zip |
Fix tilde expansion algorithm
In principle correct, in practice completely broken.
I wrongly assumed basic_string::find() would behave like strcspn(),
and also used a nonsensical string index to check for the tilde.
Diffstat (limited to 'sdn.png')
0 files changed, 0 insertions, 0 deletions