Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2
grub
bad-assert-sideeffect
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bad-assert-sideeffect of Package grub
Index: grub-0.97/lib/device.c =================================================================== --- grub-0.97.orig/lib/device.c +++ grub-0.97/lib/device.c @@ -831,9 +831,11 @@ int is_disk_device (char **map, int drive) { struct stat st; + int retval; assert (map[drive] != 0); - assert (stat (map[drive], &st) == 0); + retval = stat (map[drive], &st); + assert (retval == 0); /* For now, disk devices under Linux are all block devices. */ return S_ISBLK (st.st_mode); }
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