projects
/
platform
/
upstream
/
zypper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56ba7b
)
Fix 'zypper ps' not printing the first file twice. (bnc#599265)
author
Michael Andres
<ma@suse.de>
Wed, 28 Apr 2010 11:53:11 +0000
(13:53 +0200)
committer
Michael Andres
<ma@suse.de>
Wed, 28 Apr 2010 11:53:11 +0000
(13:53 +0200)
src/utils/misc.cc
patch
|
blob
|
history
diff --git
a/src/utils/misc.cc
b/src/utils/misc.cc
index
45760e6
..
ebd2125
100644
(file)
--- a/
src/utils/misc.cc
+++ b/
src/utils/misc.cc
@@
-432,7
+432,7
@@
void list_processes_using_deleted_files(Zypper & zypper)
tr << it->pid << it->ppid << it->puid << it->login << it->command
<< it->service() << (fit != it->files.end() ? *fit : "");
t << tr;
- for (; fit != it->files.end(); ++fit)
+ for (
++fit
; fit != it->files.end(); ++fit)
{
TableRow tr1;
tr1 << "" << "" << "" << "" << "" << "" << *fit;