Commit 5aee3388 authored by Reiner Herrmann's avatar Reiner Herrmann

Remove -w from shebang to prevent breakage when libraries throw warnings

Closes: #584728
parent 4fc69bcf
......@@ -11,6 +11,8 @@ grepmail (5.3104-1) UNRELEASED; urgency=low
+ point Vcs-* fields to salsa
+ drop ancient and unneeded (build) dependencies
+ add new build dependencies required by the new upstream version
* Remove -w from shebang to prevent breakage when libraries throw warnings.
(Closes: #584728)
* Restore inc directory in overridden clean target, in case a test fails.
* Bump debhelper compat/dependency to 11.
* Bump Standards-Version to 4.1.4.
......
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Use warnings instead of -w in shebang
Using -w can cause grepmail being prevented from running if a library
is emitting warnings.
Bug-Debian: https://bugs.debian.org/584728
Forwarded: https://github.com/coppit/grepmail/pull/5
--- a/grepmail
+++ b/grepmail
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# grepmail
@@ -19,6 +19,7 @@
use Getopt::Std;
use strict;
+use warnings;
use Mail::Mbox::MessageParser;
use FileHandle;
use Carp;
library-warnings.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment