Gleydson Soares <[email protected]> writes: > Hi Juan, > >> If you're a regular user of st, let me know if this patch works for you >> or not. >> >> The patch was written by tb@. > > I've no comments about this patch itself, but it would be nice wrap > these pledge() calls with #ifdef __OpenBSD__ and try to get it merged > upstream, as net/ii and net/sic.
*bzzzt*, wrong. #ifdef __OpenBSD__ is a crappy solution. If upstream has an autoconf-like mechanism, better wrap this in #ifdef HAVE_PLEDGE statements. If not, better keep local patches, at least we can easily keep track of them. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
