[X2Go-Commits] [x2goserver] 71/99: {X2Go/Server/Agent/NX/Options.pm, x2goserver/bin/x2goupdateoptionsstring}: fatalize text coding errors.
git-admin at x2go.org
git-admin at x2go.org
Mon Dec 28 06:10:50 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 0221e42cebe122d1668db40d0960d432aef72c19
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Nov 25 01:57:01 2020 +0100
{X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}: fatalize text coding errors.
---
X2Go/Server/Agent/NX/Options.pm | 3 +++
debian/changelog | 2 ++
x2goserver/bin/x2goupdateoptionsstring | 3 +++
3 files changed, 8 insertions(+)
diff --git a/X2Go/Server/Agent/NX/Options.pm b/X2Go/Server/Agent/NX/Options.pm
index 97f8afb8..8a4c068b 100644
--- a/X2Go/Server/Agent/NX/Options.pm
+++ b/X2Go/Server/Agent/NX/Options.pm
@@ -35,6 +35,9 @@ use 5.012;
# Enable UTF-8 encoded data in the script itself.
use utf8;
+# Make text coding issues fatal.
+use warnings qw (FATAL utf8);
+
use base 'Exporter';
use English qw (-no_match_vars);
use Storable qw (dclone);
diff --git a/debian/changelog b/debian/changelog
index 60ce2bfa..18632ee9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -331,6 +331,8 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
- {X2Go/Server/Agent/NX/Options.pm,
x2goserver/bin/x2goupdateoptionsstring}: enable Unicode handling, as
far as possible.
+ - {X2Go/Server/Agent/NX/Options.pm,
+ x2goserver/bin/x2goupdateoptionsstring}: fatalize text coding errors.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
* debian/x2goserver.manpages:
diff --git a/x2goserver/bin/x2goupdateoptionsstring b/x2goserver/bin/x2goupdateoptionsstring
index 00a829c5..64baca08 100755
--- a/x2goserver/bin/x2goupdateoptionsstring
+++ b/x2goserver/bin/x2goupdateoptionsstring
@@ -35,6 +35,9 @@ use 5.012;
# Enable UTF-8 encoded data in the script itself.
use utf8;
+# Make text coding issues fatal.
+use warnings qw (FATAL utf8);
+
#use X2Go::Utils qw (is_int);
use English qw (-no_match_vars);
use Getopt::Long qw (GetOptionsFromArray);
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list