[lintian] 01/03: doc: Mention safe_qx in the tutorial
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit e1e0615d812ea123cd107ed893746b2840781bc3
Author: Niels Thykier <niels@thykier.net>
Date: Sun Sep 14 16:14:03 2014 +0200
doc: Mention safe_qx in the tutorial
Signed-off-by: Niels Thykier <niels@thykier.net>
---
debian/changelog | 4 ++++
doc/tutorial/Lintian/Tutorial/WritingChecks.pod | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 6d444cf..4f0dc55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ lintian (2.5.28) UNRELEASED; urgency=medium
* data/cruft/non-free-license:
+ [BR] Detect cc-by-nc-sa license. (Closes: #749768).
+ * doc/tutorial/Lintian/Tutorial/WritingChecks.pod:
+ + [NT] Mention "safe_qx" as alternative to qx/`` in the
+ tutorial.
+
* lib/Lintian/Command.pm:
+ [NT] Add support for running a sub in the child before
it calls exec.
diff --git a/doc/tutorial/Lintian/Tutorial/WritingChecks.pod b/doc/tutorial/Lintian/Tutorial/WritingChecks.pod
index db31247..1473e64 100644
--- a/doc/tutorial/Lintian/Tutorial/WritingChecks.pod
+++ b/doc/tutorial/Lintian/Tutorial/WritingChecks.pod
@@ -524,7 +524,8 @@ CVE-2009-4014).
Usually 3-arg open and the non-shell variant of system/exec are
enough. When you actually need a shell pipeline, consider using
-L<Lintian::Command>.
+L<Lintian::Command>. It also provides a I<safe_qx> command to assist
+with capturing stdout as alternative to `$cmd` (or qx/$cmd/).
=item * Do not trust field values.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: