astrand / xclip

Command line interface to the X11 clipboard
GNU General Public License v2.0
1.04k stars 75 forks source link

Changes -secure mode to -sensitive, making xcmemzero default, documentation changes, bug fix #84

Closed kennbr34 closed 3 years ago

kennbr34 commented 3 years ago

This pull implements changes discussed in the comments of https://github.com/astrand/xclip/pull/70

I had some issues with my fork not being as up to date with astrand/xclip as I thought it was which accidentally reverted some other changes, but I think I have added them all back correctly. I noticed errconvsel() was returning 1 when it needed to be exiting with EXIT_FAILURE so I fixed that.

hackerb9 commented 3 years ago

Thank you, @kennbr34. Your improvements have been merged. And thanks for catching that return versus exit error in errconvsel().