Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
e2fsprogs
e2fsprogs-fdleak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File e2fsprogs-fdleak.patch of Package e2fsprogs
commit 484ddc8767ab30ac43a444a2a40de61b99c91eb1 Author: Cristian RodrÃguez <crrodriguez@opensuse.org> Date: Fri Oct 2 09:24:11 2009 -0400 fix fd leak that causes fsck to fail with "too many open files" fsck leaks fds when invoked with -R -A -M -a -t noopts=nofail Signed-off-by: Cristian RodrÃguez <crrodriguez@opensuse.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu> diff --git a/misc/ismounted.c b/misc/ismounted.c index 6d4b878..50b4140 100644 --- a/misc/ismounted.c +++ b/misc/ismounted.c @@ -86,9 +86,6 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file, char buf[1024], *device = 0, *mnt_dir = 0, *cp; *mount_flags = 0; - if ((f = fopen(mtab_file, "r")) == NULL) - return errno; - if ((f = setmntent (mtab_file, "r")) == NULL) return errno; if (stat(file, &st_buf) == 0) {
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