From 0bf7b5abfa22c252761f594c3bd6228947c50155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20A=2E=20Fern=C3=A1ndez?= Date: Sat, 26 Oct 2024 22:37:33 -0300 Subject: [PATCH] Rdrview 0.1.3 This release allows the futex() syscall inside the sandbox, which is necessary in some systems. It also improves error reporting when we fail to fetch a webpage. --- rdrview.1 | 2 +- src/rdrview.c | 4 ++-- src/rdrview.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rdrview.1 b/rdrview.1 index a4f2317..4c170c8 100644 --- a/rdrview.1 +++ b/rdrview.1 @@ -2,7 +2,7 @@ .\" .\" Copyright (C) 2020 Ernesto A. Fernández .\" -.TH rdrview 1 "June 2024" "0.1.2" +.TH rdrview 1 "October 2024" "0.1.3" .SH NAME rdrview \- extract readable content from a webpage .SH SYNOPSIS diff --git a/src/rdrview.c b/src/rdrview.c index 03aa149..558dba2 100644 --- a/src/rdrview.c +++ b/src/rdrview.c @@ -414,9 +414,9 @@ static void parse_arguments(int argc, char *argv[]) break; case 'v': if (*GIT_COMMIT) - printf("rdrview 0.1.2 - git commit id: %s\n", GIT_COMMIT); + printf("rdrview 0.1.3 - git commit id: %s\n", GIT_COMMIT); else /* Git not available during build */ - printf("rdrview 0.1.2 - unknown git commit id\n"); + printf("rdrview 0.1.3 - unknown git commit id\n"); exit(0); case 'B': ++output_opts; diff --git a/src/rdrview.h b/src/rdrview.h index 95a028a..87547a0 100644 --- a/src/rdrview.h +++ b/src/rdrview.h @@ -34,7 +34,7 @@ #include /* The Incapsula CDN demands user-agent strings of a certain form */ -#define RDRVIEW_DEFAULT_USER_AGENT "Mozilla/5.0 rdrview/0.1.2" +#define RDRVIEW_DEFAULT_USER_AGENT "Mozilla/5.0 rdrview/0.1.3" /* Cli options, plus some internal configuration */ struct options {