On Tue, Mar 14, 2017 at 09:29:48PM +0000, Stuart Henderson wrote:
> How about killing the wpath pledge if --cache is not used?
> 

It already does that. It's not visible in the diff, but we have:

   694          if (options.use_cache) {
                [...]
   704          } else {
   705                  if (pledge("stdio rpath", NULL) == -1) {
   706                          fprintf (stderr, "pdfgrep: pledge\n");
   707                          exit (1);
   708                  }
   709          }

Reply via email to