Skip to content

Commit

Permalink
[Bug] Fix broken detection of old mappings due to regression introduc…
Browse files Browse the repository at this point in the history
…ed in v2.3 acf6a07 (Debian Bug#810970 by Andreas Schmidt <pi-c@arcor.de>).
  • Loading branch information
liske committed Feb 17, 2016
1 parent e470563 commit 51e066b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
needrestart (2.6) unstable; urgency=medium
needrestart (2.6) unstable; urgency=high

* [Bug] Do not notify system users via email.
(Debian Bug#812399 by Marc Haber <mh+debian-packages@zugschlus.de>)
* [Bug] Do no restart services in interactive restart mode while
debconf's noninteractive frontend is used.
(Debian Bug#803249 by Felix Geyer <fgeyer@debian.org>)
* [Bug] Fix broken detection of old mappings due to regression
introduced in v2.3 (commit acf6a07).
(Debian Bug#810970 by Andreas Schmidt <pi-c@arcor.de>)

-- Thomas Liske <thomas@fiasko-nw.net>

Expand Down
2 changes: 1 addition & 1 deletion needrestart
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ if(defined($opt_l)) {
open(HMAP, '<', "/proc/$pid/maps") || next;
while(<HMAP>) {
chomp;
my ($maddr, $mperm, $moffset, $mdev, $minode, $path) = split(/\s+/, 6);
my ($maddr, $mperm, $moffset, $mdev, $minode, $path) = split(/\s+/, $_, 6);

# skip special handles and non-executable mappings
next unless(defined($path) && $minode != 0 && $path ne '' && $mperm =~ /x/);
Expand Down

0 comments on commit 51e066b

Please sign in to comment.