wok annotate busybox/stuff/busybox-1.27-cpio.u @ rev 20967
updated gigolo (0.4.1 -> 0.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 05 14:47:27 2019 +0100 (2019-03-05) |
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; |