wok annotate busybox/stuff/busybox-1.31-cpio.u @ rev 22291
updated xorg-xkbutils (1.0.3 -> 1.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 16:11:02 2019 +0100 (2019-11-13) |
parents | |
children | 852f0fbcce4d |
rev | line source |
---|---|
pascal@21761 | 1 --- busybox-1.31/archival/cpio.c |
pascal@21761 | 2 +++ busybox-1.31/archival/cpio.c |
pascal@21761 | 3 @@ -247,6 +247,9 @@ |
pascal@21761 | 4 if (!(S_ISLNK(st.st_mode) || S_ISREG(st.st_mode))) |
pascal@21761 | 5 st.st_size = 0; /* paranoia */ |
pascal@21761 | 6 |
pascal@21761 | 7 + if (S_ISLNK(st.st_mode)) |
pascal@21761 | 8 + st.st_nlink = 1; /* like GNU cpio */ |
pascal@21761 | 9 + |
pascal@21761 | 10 /* Store hardlinks for later processing, dont output them */ |
pascal@21761 | 11 if (!S_ISDIR(st.st_mode) && st.st_nlink > 1) { |
pascal@21761 | 12 struct name_s *n; |