sync dropbear package with whiterussian
[openwrt.git] / openwrt / package / busybox / patches / 160-tar_fix.patch
1 --- busybox-1.00/archival/tar.c.orig 2005-08-13 12:41:09.000000000 +0200
2 +++ busybox-1.00/archival/tar.c 2005-08-13 12:39:50.000000000 +0200
3 @@ -798,7 +798,7 @@
4 /* TODO: This is the same as in ar, separate function ? */
5 while (optind < argc) {
6 char *filename_ptr = last_char_is(argv[optind], '/');
7 - if (filename_ptr) {
8 + if (argv[optind] != filename_ptr && filename_ptr) {
9 *filename_ptr = '\0';
10 }
11 tar_handle->accept = llist_add_to(tar_handle->accept, argv[optind]);
This page took 0.045894 seconds and 5 git commands to generate.