From bb65ca6f9cfc1e3268c17e373f2433dc48a725d5 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Fri, 13 Feb 2026 19:50:39 +0100 Subject: [PATCH 1/4] Bump version. Signed-off-by: Thomas Hochstein --- ChangeLog | 3 +++ bin/yapfaq.pl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c35c517..a491bad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +yapfaq 1.2.0 (unreleased) + + yapfaq 1.1.0 (2026-02-13) * --test: Set Supersedes and don't modify Message-ID if -o is set. * --test: Force -o if -n is not set. diff --git a/bin/yapfaq.pl b/bin/yapfaq.pl index dbc027b..a844e38 100755 --- a/bin/yapfaq.pl +++ b/bin/yapfaq.pl @@ -19,7 +19,7 @@ # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -my $VERSION = "1.1.0"; +my $VERSION = "1.2.0-pre"; (my $NAME = $0) =~ s#^.*/##; use utf8; From dedda1e4199aa0ae95273cd597fd4fc24cefc6b6 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 1 Jun 2026 22:00:09 +0200 Subject: [PATCH 2/4] Warn for missing .rc file. Signed-off-by: Thomas Hochstein --- ChangeLog | 3 +++ bin/yapfaq.pl | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index c35c517..0e8870c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +yapfaq 1.1.1 (unreleased) + * Warn for missing .rc file. + yapfaq 1.1.0 (2026-02-13) * --test: Set Supersedes and don't modify Message-ID if -o is set. * --test: Force -o if -n is not set. diff --git a/bin/yapfaq.pl b/bin/yapfaq.pl index dbc027b..80dcbde 100755 --- a/bin/yapfaq.pl +++ b/bin/yapfaq.pl @@ -79,6 +79,8 @@ if (defined($RCFILE)) { } } close($RCFILE); +} else { + warn "W: No .rc file found.\n"; } # these env-vars have higher priority (order is important) From 2eaa526d66d1d742e23bc5a677b68d5c44123363 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 1 Jun 2026 22:00:19 +0200 Subject: [PATCH 3/4] Add trailing slash to --datadir, if missing. Signed-off-by: Thomas Hochstein --- ChangeLog | 1 + bin/yapfaq.pl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0e8870c..bc428c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ yapfaq 1.1.1 (unreleased) * Warn for missing .rc file. + * Add trailing slash to --datadir, if missing. yapfaq 1.1.0 (2026-02-13) * --test: Set Supersedes and don't modify Message-ID if -o is set. diff --git a/bin/yapfaq.pl b/bin/yapfaq.pl index 80dcbde..ec01ab8 100755 --- a/bin/yapfaq.pl +++ b/bin/yapfaq.pl @@ -120,6 +120,9 @@ if ($OptSimulation) { # -t implies -o if -n is not set $OptOutput = 1 if $OptTest && !$OptNewsgroup; +# add trailing slash to $Config{'datadir'}, if necessary +$Config{'datadir'} .= '/' if $Config{'datadir'} !~ /\/$/; + ### create list of @Projects from $Config{'datadir'} unless -p is set my @Projects; if (!$OptProject) { From 96a275a8a6d4134fef74b05f5a91732296bf9737 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 1 Jun 2026 22:03:59 +0200 Subject: [PATCH 4/4] Release 1.1.1 Signed-off-by: Thomas Hochstein --- ChangeLog | 2 +- bin/yapfaq.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc428c8..80fb719 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -yapfaq 1.1.1 (unreleased) +yapfaq 1.1.1 (2026-06-01) * Warn for missing .rc file. * Add trailing slash to --datadir, if missing. diff --git a/bin/yapfaq.pl b/bin/yapfaq.pl index ec01ab8..4ac2a2d 100755 --- a/bin/yapfaq.pl +++ b/bin/yapfaq.pl @@ -19,7 +19,7 @@ # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -my $VERSION = "1.1.0"; +my $VERSION = "1.1.1"; (my $NAME = $0) =~ s#^.*/##; use utf8;