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/coreutils/expand.c

    r3232 r3621  
    7979                *ptr = '\0';
    8080# if ENABLE_UNICODE_SUPPORT
    81                 {
    82                     uni_stat_t uni_stat;
    83                     printable_string(&uni_stat, ptr_strbeg);
    84                     len = uni_stat.unicode_width;
    85                 }
     81                len = unicode_strwidth(ptr_strbeg);
    8682# else
    8783                len = ptr - ptr_strbeg;
     
    139135# if ENABLE_UNICODE_SUPPORT
    140136            {
    141                 char c;
    142                 uni_stat_t uni_stat;
    143                 c = ptr[n];
     137                char c = ptr[n];
    144138                ptr[n] = '\0';
    145                 printable_string(&uni_stat, ptr);
    146                 len = uni_stat.unicode_width;
     139                len = unicode_strwidth(ptr);
    147140                ptr[n] = c;
    148141            }
Note: See TracChangeset for help on using the changeset viewer.