diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-05-02 15:45:55 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-05-02 15:45:55 +0000 |
commit | 32ffb28b2929bcfd1386f26b7fa08007c0feac51 (patch) | |
tree | 8b9cc3482509b9302aa15a123117ea832c4f753b | |
parent | bdcf5509649c9e22c99bc6693bbb2dd8c7b7e1ff (diff) | |
download | urpmi-32ffb28b2929bcfd1386f26b7fa08007c0feac51.tar urpmi-32ffb28b2929bcfd1386f26b7fa08007c0feac51.tar.gz urpmi-32ffb28b2929bcfd1386f26b7fa08007c0feac51.tar.bz2 urpmi-32ffb28b2929bcfd1386f26b7fa08007c0feac51.tar.xz urpmi-32ffb28b2929bcfd1386f26b7fa08007c0feac51.zip |
It shouldn't be necessary to sync to disk when closing rpmdb (esp. on heavily
loaded machines)
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2632,7 +2632,6 @@ sub unlock_rpm_db { #- avoid putting a require on Fcntl ':flock' (which is perl and not perl-base). my $LOCK_UN = 8; #- now everything is finished. - system("sync"); #- release lock on database. flock RPMLOCK_FILE, $LOCK_UN; close RPMLOCK_FILE; @@ -2666,7 +2665,6 @@ sub unlock_urpmi_db { #- avoid putting a require on Fcntl ':flock' (which is perl and not perl-base). my $LOCK_UN = 8; #- now everything is finished. - system("sync"); #- release lock on database. flock LOCK_FILE, $LOCK_UN; close LOCK_FILE; |