source:
clfs-embedded/patches/busybox-1.17.3-fixes-1.patch@
0307af1
Last change on this file since 0307af1 was 93539e4, checked in by , 14 years ago | |
---|---|
|
|
File size: 3.6 KB |
-
coreutils/ls.c
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 2010-11-21 Initial Package Version: 1.17.3 Upstream Status: From Upstream Origin: http://busybox.net/downloads/fixes-1.17.3/ Description: This patch includes the following upstream patches. busybox-1.17.3-dnsd.patch busybox-1.17.3-iproute.patch busybox-1.17.3-ls.patch busybox-1.17.3-sort.patch busybox-1.17.3-unicode.patch diff -Naur busybox-1.17.3.orig/coreutils/ls.c busybox-1.17.3/coreutils/ls.c
old new 184 184 LIST_INO, /* i */ 185 185 LIST_LONG | STYLE_LONG, /* l - remember LS_DISP_HR in mask! */ 186 186 LIST_SHORT | STYLE_SINGLE, /* 1 */ 187 0, /* g (don't show group) - handled via OPT_g */187 0, /* g (don't show owner) - handled via OPT_g */ 188 188 LIST_ID_NUMERIC, /* n */ 189 189 LIST_BLOCKS, /* s */ 190 190 DISP_ROWS, /* x */ … … 621 621 if (all_fmt & LIST_ID_NAME) { 622 622 if (option_mask32 & OPT_g) { 623 623 column += printf("%-8.8s ", 624 get_cached_ username(dn->dstat.st_uid));624 get_cached_groupname(dn->dstat.st_gid)); 625 625 } else { 626 626 column += printf("%-8.8s %-8.8s ", 627 627 get_cached_username(dn->dstat.st_uid), … … 631 631 #endif 632 632 if (all_fmt & LIST_ID_NUMERIC) { 633 633 if (option_mask32 & OPT_g) 634 column += printf("%-8u ", (int) dn->dstat.st_ uid);634 column += printf("%-8u ", (int) dn->dstat.st_gid); 635 635 else 636 636 column += printf("%-8u %-8u ", 637 637 (int) dn->dstat.st_uid, -
coreutils/sort.c
diff -Naur busybox-1.17.3.orig/coreutils/sort.c busybox-1.17.3/coreutils/sort.c
old new 412 412 #if ENABLE_FEATURE_SORT_BIG 413 413 /* Open output file _after_ we read all input ones */ 414 414 if (option_mask32 & FLAG_o) 415 xmove_fd(xopen3(str_o, O_WRONLY , 0666), STDOUT_FILENO);415 xmove_fd(xopen3(str_o, O_WRONLY|O_CREAT|O_TRUNC, 0666), STDOUT_FILENO); 416 416 #endif 417 417 flag = (option_mask32 & FLAG_z) ? '\0' : '\n'; 418 418 for (i = 0; i < linecount; i++) -
libbb/unicode.c
diff -Naur busybox-1.17.3.orig/libbb/unicode.c busybox-1.17.3/libbb/unicode.c
old new 1006 1006 } 1007 1007 } 1008 1008 if (stats) 1009 stats->byte_count = stats->unicode_count = (d - dst);1009 stats->byte_count = stats->unicode_count = stats->unicode_width = (d - dst); 1010 1010 return dst; 1011 1011 } 1012 1012 -
networking/dnsd.c
diff -Naur busybox-1.17.3.orig/networking/dnsd.c busybox-1.17.3/networking/dnsd.c
old new 388 388 query_len = strlen(query_string) + 1; 389 389 /* may be unaligned! */ 390 390 unaligned_type_class = (void *)(query_string + query_len); 391 query_len += sizeof( unaligned_type_class);391 query_len += sizeof(*unaligned_type_class); 392 392 /* where to append answer block */ 393 393 answb = (void *)(unaligned_type_class + 1); 394 394 -
networking/libiproute/iproute.c
diff -Naur busybox-1.17.3.orig/networking/libiproute/iproute.c busybox-1.17.3/networking/libiproute/iproute.c
old new 791 791 } 792 792 req.r.rtm_dst_len = addr.bitlen; 793 793 } 794 argv++;795 794 } 795 argv++; 796 796 } 797 797 798 798 if (req.r.rtm_dst_len == 0) {
Note:
See TracBrowser
for help on using the repository browser.