Skip to content

Commit

Permalink
[Core] Fix orcexec regex to match on removed files, too (Debian Bug#8…
Browse files Browse the repository at this point in the history
…28103 by Paul Wise <pabs@debian.org>).
  • Loading branch information
liske committed Aug 6, 2016
1 parent 93a1c96 commit b8e8b5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -9,6 +9,8 @@ needrestart (2.9) unstable; urgency=medium
(Debian Bug#832166 by Evgeni Golov <evgeni@debian.org>)
- [Conf] Pass arguments of apt-pinvoke to needrestart.
(Debian Bug#826220 by Wolfgang Karall-Ahlborn <lists+debian-bugs@karall-edv.at>)
- [Core] Fix orcexec regex to match on removed files, too.
(Debian Bug#828103 by Paul Wise <pabs@debian.org>)

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

Expand Down
2 changes: 1 addition & 1 deletion needrestart
Expand Up @@ -389,7 +389,7 @@ if(defined($opt_l)) {
next if($path =~ m@^/\[aio\]@);

# skip Oil Runtime Compiler's JIT files
next if($path =~ m@/orcexec\.[\w\d]+$@);
next if($path =~ m@/orcexec\.[\w\d]+( \(deleted\))?$@);

# removed executable mapped files
if($path =~ s/ \(deleted\)$// || # Linux
Expand Down

0 comments on commit b8e8b5b

Please sign in to comment.