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/kernel_version.c

    r3232 r3621  
    2121{
    2222    struct utsname name;
    23     char *s, *t;
     23    char *t;
    2424    int i, r;
    2525
    2626    uname(&name); /* never fails */
    27     s = name.release;
     27    t = name.release;
    2828    r = 0;
    2929    for (i = 0; i < 3; i++) {
    30         t = strtok(s, ".");
     30        t = strtok(t, ".");
    3131        r = r * 256 + (t ? atoi(t) : 0);
    32         s = NULL;
     32        t = NULL;
    3333    }
    3434    return r;
Note: See TracChangeset for help on using the changeset viewer.