Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/libbb/match_fstype.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/libbb/match_fstype.c
r3232 r3621 18 18 { 19 19 int match = 1; 20 int len;21 20 22 21 if (!t_fstype) … … 28 27 } 29 28 30 len = strlen(mt->mnt_type);31 29 while (1) { 32 if (strncmp(mt->mnt_type, t_fstype, len) == 0 33 && (t_fstype[len] == '\0' || t_fstype[len] == ',') 30 char *after_mnt_type = is_prefixed_with(t_fstype, mt->mnt_type); 31 if (after_mnt_type 32 && (*after_mnt_type == '\0' || *after_mnt_type == ',') 34 33 ) { 35 34 return match;
Note:
See TracChangeset
for help on using the changeset viewer.