all repos — taro @ 5f40f208ed6b98e485ce0cdd59918cdff7175aee

mblaze frontend in uxn + crystal

taro-ls: fix bad label; taro-ctl: add backup anti traversal for refile
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQT/foVVmI9pK13hPWFohAcXSWbK8wUCZjgm1wAKCRBohAcXSWbK
810hAQDSTTfwBcxF5iFmHqveXvu7yPQrMk85gbhA/DQxY/gIGwEAhh10v2GTRG4j
kHVgPbSMBwQzi/4s4wtKR952ebd9RA0=
=7R3H
-----END PGP SIGNATURE-----
commit

5f40f208ed6b98e485ce0cdd59918cdff7175aee

parent

edbed1f7031b386ccfadcd2df2718c1bfa25e0fe

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M taro-ctl.crtaro-ctl.cr

@@ -236,9 +236,9 @@

def refile_mail(range_start : UInt16, range_end : UInt16, to_mbox : String) canonical_mbox = run_cmd("readlink -f '#{MBOX_ROOT}/#{to_mbox.gsub("'", "\'")}'").to_s - # if readlink is not available, fall back to what the user gave :shrug: + # if readlink is not available, do this naive trick with cd :shrug: if canonical_mbox.empty? - canonical_mbox = "#{MBOX_ROOT}/#{to_mbox}" + canonical_mbox = run_cmd("cd #{MBOX_ROOT}/#{to_mbox}; pwd").to_s end if canonical_mbox.starts_with?(MBOX_ROOT)
M taro-ls.taltaro-ls.tal

@@ -224,7 +224,7 @@ &nvm

STHkr LB_SELECT_IDX LDZ2 STHkr LB_LEN LDZ2 GTH2 #00 EQU ,&done JCN STHkr LB_LEN LDZ2 #0001 SUB2 STHkr LB_SELECT_IDX STZ2 - @done + &done POPr JMP2r