Any attempt to cut, copy, or paste text to/from the clipboard will cause cooledit to immediately crash. I have just switched to Gentoo from another distribution and the portage tree is the latest. But because the system is new I cannot compare this present behavior of cooledit to any behavior from a prior configuration. Reproducible: Always Steps to Reproduce: 1. emerge cooledit 2. start cooledit with a text file loaded, e.g. # cooledit file.txt & 3. select some text and then cut or copy to clipboard Actual Results: After the above steps the program will immediately crash. Expected Results: The program should not crash and the selected text should be placed into the clipboard. The error messages associated with the crash indicate "invalid open call: O_CREAT without mode." This was traced to a missing mode parameter in an open call in the file widget/editcmd.c. A patch which fixes this missing mode is attached. However, although this patch corrects the cut/copy/paste-induced crash, there are other bugs in the program as well. If cooledit is started with no text file loaded, any attempt to enter text will cause the program to crash. The reason for this has not been determined and the attached patch does not correct this other problem. The output from "emerge --info" is also attached.
Created attachment 189486 [details] Output of emerge --info
Created attachment 189488 [details, diff] Patch to correct cut/copy/paste crash behavior
See also bug report #267567 for a separate issue that has also been fixed.
Fixed. Thanks for the patches