[Toybox] [PATCH] microcom: Don't crash if failed to open paste file

Yi-Yo Chiang yochiang at google.com
Mon May 20 07:00:45 PDT 2024


* When running the "paste" command and failed to open the paste file
  (such as file not found or permission error), don't crash the entire
  microcom program. Instead print the error message and give the user a
  chance to fix the problem.
* If "paste" command is cancelled by "ESC" or an empty file name, clear
  the hanging "Filename:" prompt before returning to the main loop.

-- 

Yi-yo Chiang
Software Engineer
yochiang at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240520/ad63aa3b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-microcom-Don-t-crash-if-failed-to-open-paste-file.patch
Type: application/octet-stream
Size: 1973 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240520/ad63aa3b/attachment-0001.obj>


More information about the Toybox mailing list