File: dont-trim-filenames-in-errors.patch

package info (click to toggle)
libparse-debianchangelog-perl 1.2.0-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 848 kB
  • ctags: 200
  • sloc: perl: 1,380; makefile: 24
file content (17 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Don't shorten file names in error messages.
Origin: vendor
Bug-Debian: https://bugs.debian.org/840099
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-10-08

--- a/lib/Parse/DebianChangelog.pm
+++ b/lib/Parse/DebianChangelog.pm
@@ -163,7 +163,6 @@ sub _do_parse_error {
 
     push @{$self->{errors}{parser}}, [ @_ ];
 
-    $file = substr $file, 0, 20;
     unless ($self->{config}{quiet}) {
 	if ($line) {
 	    warn "WARN: $file(l$.): $error\nLINE: $line\n";