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:
dbb11ff
)
skip ALL leading slashes :-)
author
root
<devnull@localhost>
Fri, 28 Jun 1996 21:13:13 +0000
(21:13 +0000)
committer
root
<devnull@localhost>
Fri, 28 Jun 1996 21:13:13 +0000
(21:13 +0000)
CVS patchset: 705
CVS date: 1996/06/28 21:13:13
build/pack.c
patch
|
blob
|
history
diff --git
a/build/pack.c
b/build/pack.c
index
726d26b
..
9de6a03
100644
(file)
--- a/
build/pack.c
+++ b/
build/pack.c
@@
-490,7
+490,9
@@
int packageBinaries(Spec s, char *passPhrase)
cpioFileList = newStringBuf();
while (count--) {
file = *farray++;
- file++; /* Skip leading "/" */
+ while (*file == '/') {
+ file++; /* Skip leading "/" */
+ }
appendLineStringBuf(cpioFileList, file);
}