Changeset 0e7c3d9 in mainline
- Timestamp:
- 2017-05-15T19:25:23Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ee7e6a
- Parents:
- fec333b3
- Location:
- uspace
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/str.c
rfec333b3 r0e7c3d9 1239 1239 1240 1240 return true; 1241 }1242 1243 int stricmp(const char *a, const char *b)1244 {1245 int c = 0;1246 1247 while (a[c] && b[c] && (!(tolower(a[c]) - tolower(b[c]))))1248 c++;1249 1250 return (tolower(a[c]) - tolower(b[c]));1251 1241 } 1252 1242 -
uspace/lib/c/include/str.h
rfec333b3 r0e7c3d9 132 132 */ 133 133 134 extern int stricmp(const char *, const char *);135 136 134 extern long int strtol(const char *, char **, int); 137 135 extern unsigned long strtoul(const char *, char **, int); -
uspace/lib/http/src/headers.c
rfec333b3 r0e7c3d9 251 251 bool http_header_name_match(const char *name_a, const char *name_b) 252 252 { 253 return str icmp(name_a, name_b) == 0;253 return str_casecmp(name_a, name_b) == 0; 254 254 } 255 255 -
uspace/srv/fs/exfat/exfat_ops.c
rfec333b3 r0e7c3d9 527 527 while (exfat_directory_read_file(&di, name, EXFAT_FILENAME_LEN, &df, 528 528 &ds) == EOK) { 529 if (str icmp(name, component) == 0) {529 if (str_casecmp(name, component) == 0) { 530 530 /* hit */ 531 531 exfat_node_t *nodep; -
uspace/srv/fs/fat/fat_dentry.c
rfec333b3 r0e7c3d9 63 63 size_t size; 64 64 65 if (!(rc = str icmp(name, component)))65 if (!(rc = str_casecmp(name, component))) 66 66 return rc; 67 67 if (!str_chr(name, '.')) { … … 73 73 name[size] = '.'; 74 74 name[size + 1] = '\0'; 75 rc = str icmp(name, component);75 rc = str_casecmp(name, component); 76 76 } 77 77 return rc; -
uspace/srv/fs/udf/udf_ops.c
rfec333b3 r0e7c3d9 131 131 fid->lenght_file_id, &UDF_NODE(pfn)->instance->charset); 132 132 133 if (str icmp(name, component) == 0) {133 if (str_casecmp(name, component) == 0) { 134 134 int rc = udf_node_get(rfn, udf_service_get(pfn), 135 135 udf_long_ad_to_pos(UDF_NODE(pfn)->instance, &long_ad));
Note:
See TracChangeset
for help on using the changeset viewer.