projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d861c
)
don't do link count checking on dirs
author
ewt
<devnull@localhost>
Mon, 25 Aug 1997 17:45:30 +0000
(17:45 +0000)
committer
ewt
<devnull@localhost>
Mon, 25 Aug 1997 17:45:30 +0000
(17:45 +0000)
CVS patchset: 1798
CVS date: 1997/08/25 17:45:30
lib/cpio.c
patch
|
blob
|
history
diff --git
a/lib/cpio.c
b/lib/cpio.c
index
37c2ccc
..
473b505
100644
(file)
--- a/
lib/cpio.c
+++ b/
lib/cpio.c
@@
-541,7
+541,8
@@
int cpioInstallArchive(gzFile stream, struct cpioFileMapping * mappings,
if ((ch.nlink > 1) && S_ISREG(ch.mode) && !ch.size &&
li->createdPath == -1) {
/* defer file creation */
- } else if ((ch.nlink > 1) && (li->createdPath != -1)) {
+ } else if ((ch.nlink > 1) && S_ISREG(ch.mode) &&
+ (li->createdPath != -1)) {
createLinks(li, failedFile);
/* this only happens for cpio archives which contain