On 2016/09/12 18:00, Jan Stary wrote: > Attached please find a new patch that pledges audio/gsm > and a diff to the Makefile that bumps the revision.
Usually we try to use the same error-printing function as the surrounding code, so in this case I think "perror("pledge");" would be better. We also often defer pledge until after option parsing, when we have a better idea of what is actually needed: for toast(/untoast/tcat) this would allow a more accurate pledge because we'll then know whether or not it needs filesystem access. > $OpenBSD$ > --- src/toast.c.orig Mon Sep 12 17:41:27 2016 > +++ src/toast.c Mon Sep 12 17:41:36 2016 If you use "cvs add patch-src_toast_c" you can then do "cvs diff -uNp" which will show the added file in the diff.