Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
module-init-tools
depmod-abort-on-oom.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File depmod-abort-on-oom.patch of Package module-init-tools
--- depmod.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- depmod.c.orig +++ depmod.c @@ -344,7 +344,9 @@ static struct module *grab_module(const new->data = grab_file(new->pathname, &new->len); if (!new->data) { - warn("Can't read module %s: %s\n", + void (*fn)(const char*, ...); + fn = errno == ENOMEM ? fatal : warn; + fn("Can't read module %s: %s\n", new->pathname, strerror(errno)); goto fail_data; }
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