ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 44aaa260dd881d0a3da0f9d0cec1f657530030da
parent 6a41c5a89077421de7482d220ab91b116a68557f
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 20 Jan 2016 17:04:21 +0100

AnsiLove is now pledged on OpenBSD

Diffstat:
Msrc/main.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -148,6 +148,10 @@ int main(int argc, char *argv[]) { int32_t int_bits, int_columns; + if (pledge("stdio cpath rpath wpath", NULL) == -1) { + err(EXIT_FAILURE, "pledge"); + } + while ((getoptFlag = getopt(argc, argv, "b:c:ef:him:o:rsv")) != -1) { switch(getoptFlag) { case 'b':