Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/libbb/match_fstype.c

    r3232 r3621  
    1818{
    1919    int match = 1;
    20     int len;
    2120
    2221    if (!t_fstype)
     
    2827    }
    2928
    30     len = strlen(mt->mnt_type);
    3129    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 == ',')
    3433        ) {
    3534            return match;
Note: See TracChangeset for help on using the changeset viewer.