Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
lvm2
dont_ignore_tmp_device_file.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dont_ignore_tmp_device_file.diff of Package lvm2
Index: LVM2.2.02.45/lib/device/dev-cache.c =================================================================== --- LVM2.2.02.45.orig/lib/device/dev-cache.c 2009-06-25 00:36:22.000000000 +0800 +++ LVM2.2.02.45/lib/device/dev-cache.c 2009-06-25 00:37:22.000000000 +0800 @@ -356,7 +356,11 @@ dirent_count = scandir(dir, &dirent, NULL, alphasort); if (dirent_count > 0) { for (n = 0; n < dirent_count; n++) { - if (dirent[n]->d_name[0] == '.') { + if (dirent[n]->d_name[0] == '.' && dirent[n]->d_name[1] == '\0') { + free(dirent[n]); + continue; + } + if (dirent[n]->d_name[0] == '.' && dirent[n]->d_name[1] == '.' && dirent[n]->d_name[2] == '\0') { free(dirent[n]); continue; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor