wok annotate busybox/stuff/busybox-1.31-cpio.u @ rev 23912
linux: add CONFIG_I2C_HID
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 10:22:39 2020 +0000 (2020-08-16) |
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; |