This commit is contained in:
committed by
Git OBS Bridge
parent
c114ca9b11
commit
56e5ad2fa6
@@ -1,8 +1,8 @@
|
||||
Index: LVM2.2.02.39/lib/device/dev-cache.c
|
||||
Index: LVM2.2.02.58/lib/device/dev-cache.c
|
||||
===================================================================
|
||||
--- LVM2.2.02.39.orig/lib/device/dev-cache.c 2008-05-29 06:27:47.000000000 +0800
|
||||
+++ LVM2.2.02.39/lib/device/dev-cache.c 2009-03-16 23:14:49.000000000 +0800
|
||||
@@ -356,7 +356,11 @@
|
||||
--- LVM2.2.02.58.orig/lib/device/dev-cache.c 2009-07-16 04:02:46.000000000 +0800
|
||||
+++ LVM2.2.02.58/lib/device/dev-cache.c 2010-02-04 15:32:59.000000000 +0800
|
||||
@@ -358,7 +358,11 @@
|
||||
dirent_count = scandir(dir, &dirent, NULL, alphasort);
|
||||
if (dirent_count > 0) {
|
||||
for (n = 0; n < dirent_count; n++) {
|
||||
@@ -11,7 +11,7 @@ Index: LVM2.2.02.39/lib/device/dev-cache.c
|
||||
+ free(dirent[n]);
|
||||
+ continue;
|
||||
+ }
|
||||
+ if (dirent[0]->d_name[0] == '.' && dirent[n]->d_name[1] == '.' && dirent[n]->d_name[2] == '\0') {
|
||||
+ if (dirent[n]->d_name[0] == '.' && dirent[n]->d_name[1] == '.' && dirent[n]->d_name[2] == '\0') {
|
||||
free(dirent[n]);
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user