wok annotate busybox/stuff/busybox-1.27-cpio.u @ rev 22057
updated tumbler and tumbler-dev (0.1.27 -> 0.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:26:38 2019 +0100 (2019-10-23) |
parents | |
children |
rev | line source |
---|---|
pascal@19991 | 1 --- busybox-1.25/archival/cpio.c |
pascal@19991 | 2 +++ busybox-1.25/archival/cpio.c |
pascal@19991 | 3 @@ -244,6 +244,9 @@ |
pascal@19991 | 4 if (!(S_ISLNK(st.st_mode) || S_ISREG(st.st_mode))) |
pascal@19991 | 5 st.st_size = 0; /* paranoia */ |
pascal@19991 | 6 |
pascal@19991 | 7 + if (S_ISLNK(st.st_mode)) |
pascal@19991 | 8 + st.st_nlink = 1; /* like GNU cpio */ |
pascal@19991 | 9 + |
pascal@19991 | 10 /* Store hardlinks for later processing, dont output them */ |
pascal@19991 | 11 if (!S_ISDIR(st.st_mode) && st.st_nlink > 1) { |
pascal@19991 | 12 struct name_s *n; |