Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
pdisk
pdisk-no-strnlen-needed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdisk-no-strnlen-needed.patch of Package pdisk
Index: pdisk/dump.c =================================================================== --- pdisk.orig/dump.c +++ pdisk/dump.c @@ -131,7 +131,6 @@ void dump_partition_entry(partition_map int get_max_base_or_length(partition_map_header *map); int get_max_name_string_length(partition_map_header *map); int get_max_type_string_length(partition_map_header *map); -int strnlen(char *s, int n); // @@ -789,20 +788,6 @@ display_patches(partition_map *entry) } int -strnlen(char *s, int n) -{ - int i; - - for (i = 0; i < n; i++) { - if (*s == 0) { - break; - } - s++; - } - return i; -} - -int get_max_type_string_length(partition_map_header *map) { partition_map * entry;
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